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.
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.