Qus : Runtime polymorphism feature in java is
Qusजावा में रनटाइम पॉलीमॉरफिस्म सुविधा है
A. method overriding B. method overloading
C. constructor overloading D. operator overloading
Solution
A. method overriding
Explanation
Since in method overriding both the classes(base class and child class) have same method, compile doesn’t figure out which method to call at compile-time. In this case JVM(java virtual machine) decides which method to call at runtime that’s why it is known as runtime or dynamic polymorphism.