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

In single inheritance, which one of the following keywords should NOT be used.

Computer Science20251 markMCQ
  • aextends
  • bthis
  • csuper
  • dimplements

Answer

Answer

AI

Correct option: d

Answer: (d) implements. Single inheritance between classes in Java uses the extends keyword, with this and super available for use inside the subclass. implements is used to implement an interface, not for single class inheritance.
Inheritance, Interfaces and Polymorphism

From ISC Computer Science - Competency Focused Practice Questions (CISCE, August 2024), question 16.