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

Write an algorithm for quick sort?

617


Why can't you declare a class as protected?

600


How destructors are defined in java?

630


How is tree Mirroring implemented?

631


Difference between java and javascript

586






How does multithreading take place on a computer with a single cpu?

544


What are java methods?

575


What about features of local inner class?

621


How do you do exponents in java?

538


Can we create a constructor in abstract class?

573


Differentiate between class and structure.

633


List out five keywords related to exception handling ?

600


What is the transient keyword?

631


Explain about the select method with an example?

591


how we can use debug in myeclipse 6.0 in order solve the problems that exist in our program when there are 900 to 1000 pages in a web application

1667