what do you meant by Runtime Polymorphism?

Answer Posted / sumit taneja

Run Time Polymorphism -: When we have refrence variable of
Parent class that can store object of child as well as base
class...and we have same function in base calss and child
class...so which function will be executed that will depend
on the object refrence stored in Refrence variable..So this
is called Run Time polumorphism coz refrence variable is
binded to object at run time....

Is This Answer Correct ?    32 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between Preemptive scheduling vs. Time slicing?

581


What is main in java?

516


What is an example of a boolean?

576


Can we have two main methods in a java class?

543


make a method which any number and any type of argument and print sum of that arguments.....

1388






What do you understand by an io stream?

594


Can inner class final?

643


java program with complete 4 oops concepts implemented example

2732


Is a copy constructor?

580


Can a main method be declared final?

590


How do you compare objects in java?

505


Is math an abstract class in java?

542


How can we create objects if we make the constructor private ?

548


What do you mean by Hash Map and Hash Table?

608


If a method is declared as protected, where may the method be accessed in java programming?

500