what is runtime polymorphism? For the 5 marks.

Answers were Sorted based on User's Feedback



what is runtime polymorphism? For the 5 marks...

Answer / kanan

Run time polymorphism means, compiler would comes to know
which method to execute, at the run time not in compile time.
Example is

-Interface
-Abstract Methods
-Virtual Functions

Is This Answer Correct ?    11 Yes 0 No

what is runtime polymorphism? For the 5 marks...

Answer / mayank kumar

run time polymorphism is also called late binding
polymorphism. it uses the concept of pointer.
e.g,
function overloading
operator overloading
constructor overloading

Is This Answer Correct ?    2 Yes 0 No

what is runtime polymorphism? For the 5 marks...

Answer / karthika

By the name denotes it allocate memory at the run time.
It is done by using virtual function and inheritance.
It uses pointer since it is executed at run time.it create
reference for the base class.so it takes many forms for the
same object.
eg method overiding.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More OOPS Interview Questions

What is constructor in oop?

0 Answers  


what are the ways in which a constructors can be called?

2 Answers   TCS,


Hi All, I am new to programming and want to know how can i write a code to take input of 2 numbers from user and swap it without using a temp variable?

2 Answers   NIIT,


What is oops in programming?

0 Answers  


How do you explain polymorphism?

0 Answers  






Can a destructor be called directly?

0 Answers  


What is difference between multiple inheritance and multilevel inheritance?

0 Answers  


Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer

0 Answers  


What is a template?

7 Answers  


What is class encapsulation?

0 Answers  


What is namespace?

15 Answers  


if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?

1 Answers  


Categories