๐Ÿ’ปap computer science a review

Extends SuperClassName

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

The "extends" keyword is used in object-oriented programming to establish an inheritance relationship between classes. It allows a subclass to inherit properties and behaviors from a superclass.

"Extends SuperClassName" also found in: