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
What are green threads in java?
How will you serialize a singleton class without violating singleton pattern?
What is the difference between delete and delete[]
Explain the scope of a variable.
Can java inner class be static?
What environment variables are required to be set on a machine in order to run Java programs?
Can we use different return types for methods when overridden?
Is set sorted in java?
What are the different types of inheritance in java?
What is the functionability stubs and skeletons?
What does the “final” keyword mean in front of a variable? A method? A class?
What is the base class of all classes?
What is the difference between a constructor and a method?
What is a treemap in java?
What is the benefit of inner classes in java?