Explain inheritance in detail and also explain all the types of inheritance with a figure.
Answers
Answered by
3
Answer:
Explanation:
Multilevel Inheritance: In this type of inheritance, a derived class is created from another derived class. Hierarchical Inheritance: In this type of inheritance, more than one sub class is inherited from a single base class. i.e. more than one derived class is created from a single base class.
Similar questions