1. Class
A class is the blueprint from which individual objects are created. A class is a
user defined datatype
modifier class classname
{
data item1;
..
..
data item n;
member functions();
}
3. Constructors in java
Constructors are the functions that are executed
on the instance of creating an object for that
class.
Constructors can be overloaded.
Constructor must not have a return type.
Variables can only be assigned in constructors
but inside the class.