Name: Anonymous 2009-03-28 20:51
public class Test {
/**
* @param args
*/
String szHello="hello world!";
public static void main(String[] args) {
System.out.println(szHello);
}
}I get an error when I try to compile: Cannot make a static reference to the non-static field szHello Test.java test/src line.
What does this mean?