Prashnikaप्रश्निका
Code
About
‹ Back to the paper

Question 1(v)

1 mark

Computer ScienceISC 2023 Specimen Computer Science Paper 1MCQInheritance, Interfaces and Polymorphism

Choose the correct option.

Transitive nature of inheritance is implemented through

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

Answer

Answer

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.