OBJECT ORIENTED PROGRAMMING(OOP): OOP is developed in order to remove the drawbacks of POP. In OOP, data does not allow to move freely around the system. Data ties more closely to the function that operate on it. OOP allow decomposition of program into a number of entities called objects and then build data and functions around these objects. Object consist of data and object. The data of an object can be accessed only by the functions associated with that object. Functions of one object can access the functions of another objects as shown in figure. External function can not access the data of an object.
FEATURES OF OOP:
- Emphasis on data rather than procedure.
- Program is divided into small entities known as objects.
- Data is hidden and cannot be accessed by external function.
- Objects may communicate with each other through functions.
- Bottom up approach in program design.
- New data and functions can be easily added whenever required means objects are created at any time.
BASIC CONCEPTR OF OOP:
- Objects
- Classes
- Data abstraction and encapsulation
- Polymorphism
- Inheritance
- Dynamic binding
- Message passing
NOTE: These above concepts further study in details
0 Response to "Object Oriented Programming(OOP)"
Post a Comment