24-01-2013, 03:15 PM
INHERITANCE
![Microsoft PowerPoint 2007 Document .pptx](https://seminarproject.net/images/attachtypes/ppt.gif)
Inheritance-It is the capability of one class to inherit properties from another class.
Base Class-It is the class whose properties are inherited by another class. It is called super class.
Derived class-It is the class that inherit properties from base class(es) . It is also called Sub Class.
FORMS OF INHERITANCE
Single Inheritance- It is the inheritance hierarchy wherein one derived class inherits from one base class.
Multiple Inheritance-It is the inheritance hierarchy wherein one derived class inherits from multiple base class(es).
Hierarchical Inheritance-It is the inheritance hierarchy wherein multiple subclasses inherits from one base class.
Multilevel Inheritance- It is the inheritance hierarchy wherein subclass act as a base class for other classes.
Hybrid Inheritance-The inheritance hierarchy that reflects any legal combination of other four types of inheritance.