Which keyword is used in Java to inherit a class?

PYQ 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 777 students.

Sign up free to check your answer

Sign up free

Explore the full course: Rpsc Programmer

Loading lesson…