Which of the following is not a type of inheritance?
By BYJU'S Exam Prep
Updated on: September 25th, 2023

Which of the following is not a type of inheritance?
- Multipath
- Multilevel
- Distributive
- Hierarchical
Table of content
Answer: C. Distributive
Distributive is not a type of inheritance.
Solution
The answer to the question- Which of the following is not a type of inheritance? A new class, referred to as the Derived Class, is created through inheritance from an existing class, referred to as the Base Class. The most significant benefit of Inheritance is the reusability of code, among its many other benefits. Instead of creating new Objects from scratch, new code can be based on the work of other developers, introducing only the necessary additional functionality. It saves time and effort to reuse existing classes. Object-Oriented Programming languages provide for a variety of inheritance implementations, including the following:
- Single Inheritance
- Multi-Level Inheritance
- Hierarchical Inheritance
- Hybrid Inheritance
- Multipath inheritance
- Multiple Inheritance
☛ Related Questions: