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 is coupling in oop?
what are the realtime excercises in C++?
What exactly is polymorphism?
Which language is not a true object oriented programming language?
What is abstraction encapsulation?
Please send ford technologies placement paper 2 my mail id
What is coupling in oops?
What is encapsulation example?
What language is oop?
What is object in oop?
What are the 3 pillars of oop?
What are the two different types of polymorphism?
write a C++ program for booking using constructor and destructor.
Prepare me a program for the animation of train
What is difference between oop and pop?