-
The class must contain a main method
-
The main method is static
-
The class may contain other static methods that can be called by main.
-
The class may contain static data members. These are shared by all methods in the class.
-
The main method (and other methods in the class) may create and use local variables of basic and/or class types.
-
An application class typically does not define a new type.