142k views
1 vote
The extends keyword applies to: [Choose all that apply - there may be more than one correct answer] Group of answer choices a member variable a method of the class an expression a class inheriting from another class the overridden toString method

User Iddober
by
4.6k points

1 Answer

13 votes

The extends keyword extends a class (indicates that a class is inherited from another class). In Java, it is possible to inherit attributes and methods from one class to another.

User Timekeeper
by
5.3k points