study guides for every class

that actually explain what's on your next test

Extends

from class:

AP Computer Science A

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.

congrats on reading the definition of extends. now let's actually learn it.

ok, let's learn stuff

"Extends" also found in:

Practice Questions (20)

© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.