What are the different types of inheritance?
Single Inheritance : A (parent class) ? B (child class)
Multiple Inheritance : A ? C, B ? C
Hierarchical Inheritance : A ? B, A ? C, A ? D
Multilevel Inheritance : A ? B, B ? C
Hybrid Inheritance : A ? B, A ? C, B ? D, C ? D
Post a Comment