Professional Documents
Culture Documents
It
represents the set of variables and methods that are common to all objects of one type.
Class name : The name should begin with alphabets, and most of the time, we follow
the CamelCase convention; the first letter of all the words is in the Upper case.
Superclass : Like everyone in the real world, even Java classes can have parents, these
parents are called as Superclass. Any given Class can have only one class as Parent.
( Don't ask whether it is the mother or father)
Interfaces : Interfaces are empty containers that set the rules for other interfaces and
classes.
Body : A class body is contained within curly braces { }, the class can contain
methods, variable, inner classes, constructors, static blocks, default blocks
Object : As everyone says, it is like a real object in our world, But Objects are nothing
but the container of the non-static elements in the class, Objects will have value,
address