Skip to content

Glossary: Java Beyond the Basics

Overriding

Also written: overloading, @Override, override

Overriding gives an inherited method a new body with the same name and parameters; overloading is the same name with different parameters. @Override makes the compiler check the match.

Where the book teaches it

Related terms

InheritanceInterface