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
Can we override main method?
Why is oop useful?
Get me a number puzzle game-program
What is byval and byref? What are differences between them?
What is encapsulation and abstraction? How are they implemented in C++?
How do you use inheritance in unity?
What are the three parts of a simple empty class?
hi all..i want to know oops concepts clearly can any1 explain??
How long to learn object oriented programming?
just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.
#include
c++ program to swap the objects of two different classes
Which language is pure oop?
explain sub-type and sub class? atleast u have differ it into 4 points?
What is meant by multiple inheritance?