Advantages of Inheritance
- The most frequent use of inheritance is for deriving classes using existing classes, which provides reusability. The existing classes remain unchanged. By reusability, the development time of software is reduced.
- The derived classes extend the properties of base classes to generate more dominant objects.
- The same base classes can be used by a number of derived classes in class hierarchy.
- When a class is derived from more than one class, all the derived classes have similar properties to those of base classes.