持续总结更新中.......
public class helloworld //helloworld作为类名,应该和*.java文件的文件名同名
{
public static void main(String args[])
{
System.out.println("Hello World !");
}
}
否则出错如下
public class helloworld //helloworld作为类名,应该和*.java文件的文件名同名
{
public static void main(String args[])
{
System.out.println("Hello World !");
}
}