Basic Concept of Oops

Posted On
Socialize It →
0
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.


     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 from.



Note:- “Polymorphism is a property by which the same message can be sent to objects of several different classes, and each object an respond in a different way depending on its class “

0 comments:

Post a Comment

'