What is the term used to describe the situation when a derived class provides a function already provided in the base class.
Overriding used to describe the situation when a derived class provides a function already provided in the base class.
Function overriding, in object oriented programming, is a language feature that allows a subclass or child class to provide a specific implementation of a method that is already provided by one of its super classes or parent classes.
If we inherit a class into the derived class and
provide a definition for one of the base class’s function again inside the
derived class, then that function is said to be overridden, and this mechanism
is called function overriding.