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

Question 1(v)

1 mark

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

Answer the following.

The keyword that allows multi-level inheritance in Java programming is:

  • (a)implements
  • (b)super
  • (c)extends
  • (d)this

Answer

Answer

Correct option: (c)

Answer: (c) extends A class inherits from another class with extends; a chain such as class B extends A and class C extends B gives multi-level inheritance.