AP® Computer Science A glossary

Method overriding

Also called: overriding

Course: AP® Computer Science A Shows up in: Unit 1: Using Objects and Methods

When a public method in a subclass has the same signature as a public method in its superclass but its own behavior.

Appears in the course and exam description (CED): 1.15.A.5

Classes often override toString, inherited from Object, to describe their objects. Writing your own overriding toString is outside the course.

Learn it properly, with a checkpoint 1.15 String Manipulation

Related terms

Was this page helpful?

No names are ever shown, and every public comment is checked by us first. Please do not include personal details. To get a reply, email [email protected].

↑ Top

Enlarged view of the selected figure