hamburger

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?

  1. Multipath
  2. Multilevel
  3. Distributive
  4. Hierarchical

 

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:

Our Apps Playstore
POPULAR EXAMS
SSC and Bank
Other Exams
GradeStack Learning Pvt. Ltd.Windsor IT Park, Tower - A, 2nd Floor, Sector 125, Noida, Uttar Pradesh 201303 help@byjusexamprep.com
Home Practice Test Series Premium