4. These are common errors I have seen as a
teaching assistant, and are based solely on
my experience.
5. Everyone is different, therefore:
•
•
•
some of you will not make these mistakes
others will not make these mistakes after
seeing this presentation
For others it may be a good resource to
consult
25. public class HelloWorld {
public static void main(String [] args) {
System.out.println(“Hello World”);
}
}
26. public class HelloWorld {
//beginning of the class body
public static void main(String [] args) {
System.out.println(“Hello World”);
}
} //end of the class body
27. public class HelloWorld {
public static void main(String [] args) {
//beginning of the method body
System.out.println(“Hello World”);
} //end of the method body
}