This blog shows some of the advantages of Inheritance
·
Once a behavior (method) or property is defined
in a super class(base class),that behavior or property is automatically
inherited by all subclasses (derived class).
·
Code reusability increased through inheritance.
·
Inheritance provide a clear model structure
which is easy to understand without much complexity Using inheritance, classes
become grouped together in a hierarchical tree structure Code are easy to
manage and divided into parent and child classes.