Answer Posted / karthikeyan srinivasan
Polymorphism : Same function name but with different behaviors
Related Concepts : functional overriding and functional
overloading
Dynamic Polymorphism(Run time polymorphism) :
The decision of selecting which function has to be run
in run time is dynamic polymorphism
Ex:
class A {
function write() {
// Base class write method
}
}
class B extends A {
function write() {
// Derived class method
}
}
Called dynamic binding.
Compile time polymorphism:
Functional overloading is compile time polymorphism.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
• What are the desirable attributes for memory managment?
What is overloading in oops?
Why do we use class in oops?
What is the real life example of polymorphism?
What is class encapsulation?
what are the realtime excercises in C++?
Can you explain polymorphism?
write a program that takes input in digits and display the result in words from 1 to 1000
What is oops and why we use oops?
Plese get me a perfect C++ program for railway/airway reservation with all details.
What is a superclass in oop?
what is graphics
Why multiple inheritance is not allowed?
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout<
what type of questions