What is the use of inheritance?

Inheritance is used to use the existing features of class . It is used to achieve runtime polymorphism i.e method overriding. Using inheritance, we can organize the information in a hierarchal form.

Sizin İçin Seçtik  Where can I practice React Native?

Leave a Reply

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