Basic Concept of OOP

Posted On
Socialize It →
0
The OOP approach is based on certain concepts that help it attain its goal of overcoming the drawbacks or shortcoming of conventional programming approaches.

The General Concept of OOP are given below:-

1.  Data Abstraction
2.Data Encapsulation
3.  Modularity
4.  Inheritance
5. Polymorphism

Data Abstraction

Abstraction refers to the act of representing essential features without including the background details or explanations.


Data Encapsulation

The wrapping up of data and operations/functions into s single unit is known as encapsulation.

Modularity

Modularity is the property of a system that has been decomposed into a set of cohesive and loosely coupled modules.

Inheritance

Inheritance is the capability of one class of things to inherit capabilities or properties from another class.


Polymorphism

Polymorphism is the ability for a message or data to be processed in more than one form.

0 comments:

Post a Comment

'