Sep 23
|
To run a Java class it must have a method with the following signature:
public static void main(String[] args)
public class MyClass { /** * This method will get run when you execute MyClass */ public static void main(String[] args) { // your application starts executing here } }