what is runtime polymorphism? For the 5 marks.
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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?
what is function over loading?
what is the use of classes in c++;
What is a friend function & its advantage?
hi all..i want to know oops concepts clearly can any1 explain??
What is the fundamental idea of oop?
What are the access specifiers avaible in c++?
features of OOPS
22 Answers Ness Technologies, Satyam,
We have a scale and 7 balls. 1 ball is heavier than all the rest. How to determine the heaviest ball with only 3 possible weighing attempts?
What is polymorphism oop?
What is the difference between pass by value,pass by pointer,pass by reference in the catch block in the exception handling in c++
What is a unary operator?