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
Is this job good for future? can do this job post grduate student?
write a program using c++ to implement single contiguous memory mangement techniques.display the content of the main memory after yhe allocation of jobs and percentage of the wastage of the main memory
write a program that takes input in digits and display the result in words from 1 to 1000
What is abstraction and encapsulation?
How do you achieve runtime polymorphism?
What is polymorphism give a real life example?
What are the benefits of oop?
What is abstraction in oops with example?
What do you mean by Encapsulation?
Get me an image implementation program.
What is and I oop mean?
Write a program to reverse a string using recursive function?
What is abstraction in oop with example?
Is data hiding and abstraction same?
Describe these concepts: Polymorphism, Inheritance and Abstraction.