JAVA.
If a polymorphic object is turned back into its underlying subclass object is called ____?
Here is the answer, if you like my answer Please give me a "LIKE".
Answer- Dynamic polymorphism.
Reason:-
This form of polymorphism doesn’t allow the compiler to determine the executed method. The JVM needs to do that at runtime.
Within an inheritance hierarchy, a subclass can override a method of its superclass. That enables the developer of the subclass to customize or completely replace the behavior of that method.
It also creates a form of polymorphism. Both methods, implemented by the super- and subclass, share the same name and parameters but provide different functionality.
Get Answers For Free
Most questions answered within 1 hours.