CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

When a function in the base class is redefined in the inherited class is called?


Open in App
Solution

Overriding is the word when a function belonging to the base class is redefined in the inherited class which is part of Java language. It 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.


flag
Suggest Corrections
thumbs-up
5
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Money Math
BIOLOGY
Watch in App
Join BYJU'S Learning Program
CrossIcon