Answer Posted / rajdeep gupta
to call the overloaded function via object is known as
polymorphism.There are two types of polymorphism
1-Dynamic polymorphism
2-static polymorphism
static polymorphism(early binding)
there in only one class is sufficient to call the overloaded
function.it is predefine that which function want to be call.
that means the linking between function call and object is
resolved at compile time is known as static polymorphism.
dynamic polymorphism(late binding)
class model should be based on inheritance model.virtual
function is used for it.
that means the linking between function call and object is
resolved at run time is known as dynamic polymorphism.
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is the difference between a constructor and a destructor?
What is abstraction oop?
What are main features of oop?
Why is static class not inherited?
What is stream in oop?
what is the sylabus for priliminaries?
Why is abstraction needed?
How does polymorphism work?
How to improve object oriented design skills?
write string class as your own class in java without using any built-in function
What is inheritance in simple words?
What is object and class in oops?
Is enum a class?
Get me an image implementation program.
Explain the advantages of inheritance.