what do you meant by Runtime Polymorphism?

Answers were Sorted based on User's Feedback



what do you meant by Runtime Polymorphism?..

Answer / chandra rekha

polymorphism -an entity existing in different forms at the
same time. Polymorphism is of two types. Static
polymorphism and dynamic polymorphism. Run time
polymorphism refers to dynamic polymorphism wherein an
entity changes it's form depending on the cirumstances.

Is This Answer Correct ?    47 Yes 13 No

what do you meant by Runtime Polymorphism?..

Answer / 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

what do you meant by Runtime Polymorphism?..

Answer / muthusenthil

Runtime Polymorphism is method overriding...

Is This Answer Correct ?    38 Yes 10 No

what do you meant by Runtime Polymorphism?..

Answer / ramkiran

The function which calls at runtime ratherthan the
compiletime
Ex:
Class A
{
Public void test(){
System.out.println(“This is Base Class”);
}
}
Class B extends A{
Public void test(){
System.out.println(“This is Child Class”);
}

}
Class RuntimePoly{
Public static void main(){
A a = new A();
B b = new B();
A baseClassVar;

baseClassVar = a;
baseClassVar.test();

baseClassVar = b;
baseClassVar.test();



}
}

Is This Answer Correct ?    30 Yes 10 No

what do you meant by Runtime Polymorphism?..

Answer / guest

Runtime Polymorphism means we can change function
defination in child class that function already define in
Base class. Particular class object decide which object
used. This is achieved through the use of virtual functions
in c++.

Is This Answer Correct ?    22 Yes 7 No

what do you meant by Runtime Polymorphism?..

Answer / arun kumar rout

Linking of message to an object at the time of execution is
known as dinamic binding or runtime polymorphism.

Is This Answer Correct ?    19 Yes 5 No

what do you meant by Runtime Polymorphism?..

Answer / rahul kale

Polymorphism is an enttity that existing in different forms.
polymorphism have a two types
Dynamic
Static
Runtime Polymorphism refer to as dynamic polymorphism .
rauntime polymorphism is meethod of overrriding
it is th ability o work done by one task.

Is This Answer Correct ?    10 Yes 1 No

what do you meant by Runtime Polymorphism?..

Answer / ravikiran

Runtime polymorphism takes place at runtime and looks
peculiar to the object type.
Overriding is the example for this

Is This Answer Correct ?    9 Yes 3 No

what do you meant by Runtime Polymorphism?..

Answer / chinmay

run time polymorphism is the one that gets in to action
when we run our program it directly identifies which object
we are refering to and hence we get the required result it
takes the use of virtal functions to implement this.

Is This Answer Correct ?    7 Yes 3 No

what do you meant by Runtime Polymorphism?..

Answer / ashish

first polymorphsm means ability to do more than one task as
ex.we can same function name for many times by passing
different no. of arguments...
now,run time polymorphism means adress of the code
(variable,function) is known (built)at the run time only
as ex. virtual function.....

Is This Answer Correct ?    6 Yes 4 No

Post New Answer

More Core Java Interview Questions

how you will prevent inheritance is there any other way other than inheritance?

4 Answers   Wipro,


What is the static keyword?

0 Answers  


What is run time allocation?

0 Answers   Fidelity,


What is the difference between jfc & wfc?

0 Answers  


Hi friends i want display Triangle shap stars(*) please can tell me any one java code logic? * *** ***** ******* Like this

2 Answers   NIIT, TCS,






what is the difference b/w design pattern and architecture

4 Answers   Covansys,


Why stringbuilder is not thread safe in java?

0 Answers  


What are synchronized methods ?

0 Answers  


How to call static method?

4 Answers   Epoch,


What is the maximum size of array in java?

0 Answers  


Explain the different forms of polymorphism?

0 Answers  


how does multithreading take place on a computer with a single cpu? : Java thread

0 Answers  


Categories