Which one of the following keyword is used to inherit our subclass into a superclass?

Which one of the following keyword is used to inherit our subclass into a superclass? Correct Answer extends

When we extend a class then the subclass will inherit all the public and protected methods from the parent class. The keyword implements are used with interfaces. With inheritance, we use the keyword extends.

Related Questions

If A is the superclass and B is the subclass, then subclass inherting the superclass can be represented as
Which keyword must be used to inherit a class in Java?
If your object must inherit behavior from a number of sources you must use a/an
As a general rule, properties in CSS inherit from ___________ elements