Identification of a class and method definition must adhere to the following specific syntax format:

Class definition syntax

Access Modifier(optional) Class_name {
                        variable declaration
                        object creation
                        method definitions                    constructors
                                                                      main methods
                                                               programmer defined methods

}

Method definition syntax

access modifier       return type      classname  (data type  param_name)  {

}