INHERITANCE
TYPES OF INHERITANCE
Inheritance is a method through which one class inherits the properties from its parent class. Inheritance is a feature in which one new class is derived from the existing ones. The new class derived is termed a derived class, and the current class is termed a Parent or base class. Inheritance is one of the most essential features of Object Oriented Programming.
Comments
Post a Comment