Advertisements
Advertisements
प्रश्न
State any six principal advantages of object oriented programming.
दीर्घउत्तर
Advertisements
उत्तर
- Inheritance helps reduce duplicate code and allows reuse and extension of existing classes.
- Data hiding (encapsulation) improves program security and protects data.
- Multiple objects can exist independently without affecting each other.
- Work on a project can be easily divided based on objects.
- OOP systems can be expanded or scaled from small applications to large systems.
- Software complexity becomes easier to control and manage.
- Real-world entities can be directly represented as objects in programs.
- Provides effective message passing for communication between objects.
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
2022-2023 (March) Official
