The object oriented programming has been developed with a
view to overcome the drawbacks of conventional programming approaches. The oop’s
approach is based on certain concepts that helps it attain its goal of overcoming
the drawbacks or shortcomings of conventional programming approaches.
The concepts are
Data Abstraction
Abstraction refers to the act of
representing essential features without including the background details or
explanations.
Encapsulation
The wrapping up of data and operations /
functions (that operate on data) into a single unit (called class) is known as
Encapsulation.