Class Declarations – Declarations
3.1 Class Declarations A class declaration introduces a new reference type and has the following syntax: Click here to view code image class_modifiers classclass_name extends_clause implements_clause // Class header{ // Class bodyfield_declarationsmethod_declarationsconstructor_declarationsmember_type_declarations} In the class header, the name of the class is preceded by the keyword class. In addition, the class header can specify the following information: … Read more