๐Ÿ’ปap computer science a review

Extend

Written by the Fiveable Content Team โ€ข Last updated September 2025
Verified for the 2026 exam
Verified for the 2026 examโ€ขWritten by the Fiveable Content Team โ€ข Last updated September 2025

Definition

In Java, the keyword "extend" is used to create a relationship between two classes where one class inherits the properties and methods of another class. When a class extends another class, it becomes a subclass, and the extended class becomes its superclass.

"Extend" also found in:

Subjects (1)