Advertisements
Advertisements
प्रश्न
Write the features OOP (Object-oriented programming)
Writing any six important features of object oriented programming.
Write any six features of object oriented programming.
लघु उत्तरीय
Advertisements
उत्तर
- 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
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
