PRASHNIKAप्रश्निका
Back to the paper

Transitive nature of inheritance is implemented through

Computer Science20231 markMCQ
  • (a)Single inheritance
  • (b)Multiple inheritance
  • (c)Hybrid inheritance
  • (d)Multilevel inheritance

Answer

Answer

AI

Correct option: (d)

Answer: (d) Multilevel inheritance The transitive property (if A relates to B, and B relates to C, then A relates to C) is realised by Multilevel inheritance, where a subclass extends a class that is itself a subclass, so members pass down through several levels.
Inheritance, Interfaces and Polymorphism

From ISC 2023 Specimen Computer Science Paper 1, question 1(v).