/*
this is my first java application.It displays
some words to the standard output.
*/
public class sayhello{
public static void main(String[] args){
//display the string.
System.out.println("hello,it's my first application!\n");
}
}哪位帮忙运行下,看你们是否能够运行,帮忙找一下错误,谢谢了。
this is my first java application.It displays
some words to the standard output.
*/
public class sayhello{
public static void main(String[] args){
//display the string.
System.out.println("hello,it's my first application!\n");
}
}哪位帮忙运行下,看你们是否能够运行,帮忙找一下错误,谢谢了。
估计
1.没保存
2.文件名是Sayhello.java 类名sayhello
编译时 用的javac sayhello.java
运行时用的java Sayhello
就会报错