A class is declared by use of the class keyword. Class body is enclosed between curly braces { and }. The data, or variables, defined within a class are called instance variables. The code is contained within methods. Collectively, the methods and variables defined within a class are called members of the class.
Default modifier is friendly.
Syntax
{
body
}


