Java now supports dynamic method dispatch, a key component of run-time polymorphism that allows for method overriding. It enables classes to describe methods that will be shared by all of their descendants while allowing subclasses to define the specific implementation of any or all of those methods.
Vishalini.R Answered question September 7, 2023