public class { public static void main(string argv[]) }.........?
Hi Friend,
It will give error as you haven't specify the class name through which the class is to be saved and compiled. Moreover there is a missing braces.
Anyways, the correct format is:
public class Hello{
public static void main(String argv[]){
System.out.println("Hello World");
}
}
Thanks