PPT Slide
System.out.println (“Hello”);
public static void main (String arg[]) {
Thus, the error of making a “static reference to a method” might be understood as a problem of ambiguity.
We have not told Java which of the many possible instances of class Test we intend to call “sayHello()” on.