Encapsulation
Abstraction
Polymorphism
Inheritance
Abstraction
- It is a simplified description or specification of a object
- It hides the complexity of an object & allows you deal with the features that needed.
- It allows to ignore the redundant features of an object and to concentrate on essential characteristics of the object.
Encapsulation
- It is a mechanism that binds data and the functions which operate on it
- It allows to carry the data and operations together as a single unit.
- It facilitates Data Hiding.
Inheritance
- It is a process by which one object acquires the features of another.
- It is a concept of reusability and extendability
- It is also called as is - a relationship.
Polymorphism
Polymorphism is a mechanism through which one object can exhibit many forms that depends on situation