What is Object Oriented Programming? What are its advantages?
In object oriented programming we follow an approach that provides a way of modulating programs by creating partitioned memory area for both data and functions that can be used as templates for creating copies of such modules on demand.
The advantages of object oriented programming are given below:
1. In object oriented programming function and data both are tied together in a single unit.
2. In object oriented programming data is not accessible by external functions as it is hidden.
3. In object oriented programming object may communicate with each other only through functions.
4. In object oriented programming it is easy to add new data and functions whenever required.
5. In object oriented programming model real world problems very well.
Thanks
Mukesh Rajput
Post A Comment:
0 comments: