Primeira página Anterior Continuar Última página Sumário Gráfica
Java: Class definition
- [public] class ClassName {
- ...
- }
- all attributes and methods defined for the class should be in the body of the class
- only one public class per file
- constructor methods have no return value
- class may have one main method
- declared as public static void
- argument is an array of String