ICSE Class 10 Computer Applications
Question 12 of 16
Encapsulation and Inheritance — Question 14
Back to all questions 14
Question Question 14
Explain various types of inheritance.
The various types of inheritance are as follows:
- Single Inheritance — When a class is derived from only one base class, it is known as single inheritance.
- Multiple Inheritance — When a sub class is inherited from multiple base classes, it is known as multiple inheritance.
- Hierarchical Inheritance — When many sub classes are inherited from a single base class, it is known as hierarchical inheritance.
- Hybrid Inheritance — When more than one type of inheritance forms are used together, it is known as hybrid inheritance.
- Multilevel Inheritance — When a sub class is inherited from a class that itself is being inherited from another class, it is known as multilevel inheritance.