ADVANTAGES: Inheritance allows us to inherit all the properties of base class and can access all the functionality of inherited class . It implements reusability of code.
ADVANTAGES: Inheritance allows us to inherit all the properties of base class and can access all the functionality of inherited class . It implements reusability of code.