study guides for every class

that actually explain what's on your next test

Extend

from class:

AP Computer Science A

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.

© 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.