Advertisements
Advertisements
Questions
Write the features OOP (Object-oriented programming)
Writing any six important features of object oriented programming.
Write any six features of object oriented programming.
Short Answer
Advertisements
Solution
- Programs are divided into objects, and different objects communicate with each other through messages, called methods
- Emphasis is given to data rather than procedure.
- Data is hidden and can’t be accessed or altered by external functions.
- Functions operating on data of an object are encapsulated (tied together in the single data structure called class.)
- New data and functions can be easily added whenever necessary.
- Follows bottom-up approach in program design.
shaalaa.com
Is there an error in this question or solution?
