Classes- It’s
like a container and contain the member variables and member
functions. E.g. if you say the house is the class and it contains Fridge, Washing
Machine, Fan all this are Member variables or attributes of class.
Object – It’s the
instance of class, its just interface which will access the member variable and
Member function of the class. E.g. If house is the Classes and Items in House
in member Variables or attribute then the person who is living in the house in
Instance for Classes.
Constructors - It’s
used to initialize the object. e.g. Like in above if House is Class and Fridge, WM
and Fan is Attributes and House Members are Object then when we initialize the
object then we intialize the attributes like fridge, WM to initiate or initialize.
Inheritance –
Process of getting the base class functionality into derived classes. E.g. there
is House H1 and another house H2. He is owner of H1 and His father is owner of
H2, now this member is able to access both the house.
Abstraction – Is the
process of hiding the implementation from outside world. E.g. Hiding the way of
Cooking in your home.
Polymorphism – Poly
means “many” and morphism means “forms”. One things is using in many
forms. E.g. Your home dining table use
for having food, and for reading table also.
It is basically Over Loading and Over riding.
Encapsulation – Process
of Hiding the data members or Members variables from outside words and limited
the access for it. E.g. Only house members are allow to access dressing table
not out siders.