3.4 The void main method |
This method is the void main method of the class. This method must be declared as follows:
public static void main(String[] args)For instance:
public class StartClass { public static void main(String[] args) { // .... code goes here } }
The public and static method modifiers will be explained
later in the guide.