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
Why do we need oop?
Can bst contain duplicates?
What is the use of oops?
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer
which feature are not hold visual basic of oop?
when to use 'mutable' keyword and when to use 'const cast' in c++
What is multilevel inheritance explain with example?
can inline function declare in private part of class?
What makes a language oop?
What causes polymorphism?
What is encapsulation c#?
what is the drawback of classical methods in oops?
Why is oop better than procedural?
IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?
what is different between oops and c++