public class Hello {
public static void main (String[] args) {
System.out.println("My contact number is: ");
int srv = 82;
system.out.println(srv);
Line 5 has a small error.
Try System.out.println(srv);
I think it would be worth your while to check out a modern IDE with syntax checking. Visual Studio Code and Netbeans come to mind. Free and cross platform.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.