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 |
What is a unary operator?
Difference ways of Polymorphism?
what type of question are asked in thoughtworks pair programming round ?
what is the sylabus for priliminaries?
How is the using() pattern useful? What is IDisposable? How does it support deterministic finalization?
In the following declaration of main, "int main(int argc, char *argv[])", to what does argv[0] usually correspond? 1) The first argument passed into the program 2) The program name 3) You can't define main like that
What is abstraction oop?
What do you mean by inline function?
Why and when is a virtual destructor needed?
What is static modifier?
why we call c++ is object oriented lanaguage
why we are declare the function in the abstract class even though we are declaring it in Derived class?