๐Ÿ’ปap computer science a review

Extends

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 "extends" is used to create a subclass that inherits properties and methods from a superclass. It establishes an "is-a" relationship between classes.

"Extends" also found in: