What is the advantages of using inheritance?

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.

Sizin İçin Seçtik  What methods Cannot be inherited?

Leave a Reply

Your email address will not be published. Required fields are marked *