study guides for every class

that actually explain what's on your next test

Overriding method

from class:

AP Computer Science A

Definition

An overriding method is a method in a subclass that has the same name, parameters, and return type as a method in its superclass. It is used to provide a different implementation of the method in the subclass.

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