Which keyword is used in Java to inherit a class?

RPSC Programmer 2024

Which keyword is used in Java to inherit a class?

  1. A.

    inherits

  2. B.

    extends

  3. C.

    implements

  4. D.

    super

  5. E.

    Question not attempted

Attempted by 797 students.

Sign up free to check your answer

Sign up free

Explore the full course: Isro

Loading lesson…