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
`super.method()` is used in Java to explicitly call a method defined in the superclass. It allows you to access and execute the overridden method implementation from the parent class.
Related terms
Method Overriding: Method overriding occurs when a subclass provides its own implementation for an inherited method from its superclass. This allows subclasses to define specific behavior while still maintaining inheritance.
Polymorphism refers to how objects can take on many forms during runtime. In Java, it allows different objects of different classes (including subclasses) that share common methods or interfaces to be treated interchangeably.
Inherited Method: An inherited method is a method that is defined in the superclass and passed down to its subclasses. The subclass can choose to override or use the inherited method as-is.