Multiple choice

The keyword 'extends' is followed by a/an ____ name.

  1. interface

  2. child class

  3. base class

  4. listener

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The 'extends' keyword in Java is used for inheritance and is always followed by the base class (parent class) name. The child class inherits properties and behaviors from the base class, establishing an 'is-a' relationship between them.