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
How oops is better than procedural?
What do you mean by overloading?
I have One image (means a group photo ) how to split the faces only from the image?............ please send the answer nagadurgaraju@gmail.com thanks in advace...
Plese get me a perfect C++ program for railway/airway reservation with all details.
What is inheritance and how many types of inheritance?
what are the different types of qualifier in java?
Why multiple inheritance is not possible?
What are constructors in oop?
What is abstraction in oop with example?
What is destructor example?
Why do we use oop?
What is abstraction oop?
How to hide the base class functionality in Inheritance?
What is and I oop mean?
What is constructor overloading in oop?