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
Mukesh Rajput

Mukesh Rajput

I am a Computer Engineer, a small amount of the programming tips as it’s my hobby, I love to travel and meet people so little about travel, a fashion lover and love to eat food, I am investing a good time to keep the body fit so little about fitness also..

Post A Comment:

0 comments: