帮你改一下,java是区分大小写的
public class testHello{
public static void main (String[] arg) {
System.out.println("hello,这是一个测试!");
}
}
public class testHello{
public static void main (String[] arg) {
System.out.println("hello,这是一个测试!");
}
}
怎么看你写的是printIn
按pleonheart(只睡六小时)这位兄弟说得就可以了
错无信息里面都说了是system.out.printIn("hello,这是一个测试!");
这句有问题, 编译器不认识这个方法,因为错了
错误信息很有用的,好好看看把'
System.out.println("saaaaa");
system.out.printIn
改为
System.out.println
system.out.printIn("hello,这是一个测试!");
改为
public static void main(String args[])
System.out.println("hello,这是一个测试!");java 是区分大小写的