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 abstraction and encapsulation?
What is the example of polymorphism?
How to create a comment page in C #??
What is difference between class and object with example?
What is Virtual Keyword?
what are the disadvantages of C++?
25 Answers ATS, Infosys, UNI, Wipro,
Write on signed and unsigned integers and give three (3) examples each
What is the Advantage of Interface over the Inheritance in OOPS?
what is virtual function?
26 Answers Aspire, HP, Infosys, RoboSoft, TCS,
Which is the best institute in hyderabad for C/C++ and it also has fast track course structure.
What is abstraction in oops with example?
In OverLoading concept,Why they are not consider return value and why they are consider only parameters in method? For ex: public int Add(int a,int b){...} public String Add(int a,int b){...}