Title: Identify class and method definitions.
Course: Java Programming (Oracle) (10055) > Section: Introducing Classes, Objects, and Methods

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)  {

}