What are the different forms of inheritence? Give an example for each.
Example: types of inheritance
OOPs support the six different types of inheritance as given below :
Single inheritance.
Multi-level inheritance.
Multiple inheritance.
Multipath inheritance.
Hierarchical Inheritance.
Hybrid Inheritance.