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
Class C is a specific class that can have subclasses below it and superclasses above it. It inherits properties and behaviors from its superclass(es) and can provide additional properties and behaviors to its subclass(es).
A superclass is a class that comes above another class in the hierarchy. It provides common properties and behaviors that can be inherited by its subclasses.
A subclass is a class that is derived from another class (superclass). It inherits the properties and behaviors of its superclass but may also add new ones or override existing ones.