class
{
public static void main(String[] args)
{
System.out.println("Hello World!");
}
}
编译时显示错误
---------- Compile ----------
Untitled1.java:1: error: <identifier> expected
public class
^
1 error
Output completed (0 sec consumed) - Normal Termination