我用记事本编写了一个test.java的程序,放在D:\javawork\lesson1里面 public class test { public static void main(string [] args) { system.out.println("hello"); system.out.println("www.it315.org"); } }
class test2 { } 请问这个程序有错误吗? 当我运行javac test.java的时候是这样的: D:\javawork\lesson1>javac test.java test.java:3: cannot resolve symbol symbol : class string location: class test public static void main(string [] args) ^ test.java:5: package system does not exist system.out.println("hello"); ^ test.java:6: package system does not exist system.out.println("www.it315.org"); ^ 3 errors 请问是哪里出了问题啊???