concept overriding in category java

appears as: overriding
JavaFX in Action

This is an excerpt from Manning's book JavaFX in Action.

When a class subclasses another, it can replace the implementations of variables and functions in its parent (super) class with its own. This is known as overriding. It cannot change their type—an integer variable must remain an integer—but it can change their default value or (in the case of a function) their code body. Each Vehicle subclass, for example, could define its own implementation of speedUp() and slowDown(), simulating the specific mechanics of the given type of vehicle they represent.