Home / Object Oriented Programming / Define Object, Class, Encapsulation, Abstraction, Inheritance, Polymorphism

Define Object, Class, Encapsulation, Abstraction, Inheritance, Polymorphism

Define Object

In Object oriented programming an object is a self-contained component that contains properties and methods to make a certain data type.

Define Class

Class is a blueprint or template as a set of instructions to build a specific type of object.

Define Encapsulation

Encapsulation is the process of combining data and function into a single unit class.

Define Abstraction

Abstraction is the process where you show only related data and hide unnecessary details of an object.

Define Inheritance

Inheritance in object oriented programming can be described as a process of creating new class from existing class.

Define Polymorphism

Polymorphism derived from two Greek words – Poly means many and Morphs means forms, So polymorphism means having many forms.