Advantages of OOP
- Reusability : OOP allows creation of reusable code, reducing future work.
- Information hiding: Information hiding protects internal data from improper access.
- Polymorphism: Polymorphism allows multiple definitions of operators/functions. The active context determines which one is used.
- Inheritance: New classes can be derived from existing ones.