हिंदी

Types of Inheritance

Advertisements

Topics

CISCE: Class 10

Types of Inheritance:

There are various types of inheritance: 

(a) Single Inheritance: If a derived class is derived by a single base class, then it is known as a single inheritance. 

(b) Multiple Inheritance: When a derived class inherits from multiple base classes, it is known as multiple inheritance. 

(c) Hierarchical Inheritance: When many derived classes inherit from a single base class, it is known as hierarchical inheritance. 

(d) Nested or Multilevel Inheritance: A target that inherits a base class can in turn be used as a base for another target. Such a system is known as multilevel inheritance. 

(e) Hybrid Inheritance: When more than one type of inheritance system is used together, it is known as hybrid inheritance. 

Advertisements
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×