Watch the diagram closely and identify the type of inheritance?

95. Watch the diagram closely and identify the type of inheritance?

OOPs MCQ - 72
  1. Hierarchical inheritance
  2. Hybrid inheritance
  3. Multilevel inheritance
  4. Multiple inheritances

Answer: B) Hybrid inheritance

Explanation:

Hybrid inheritance is the combination of multiple and multilevel inheritances so therefore in the given diagram, lecturer, department, the student refers as multilevel inheritance and marks and students refer as multiple inheritances.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.