Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Polymorphism with an example?

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


Please Help Members By Posting Answers For Below Questions

What is class and object with example?

1060


What is a null tree?

1081


Why do we use polymorphism in oops?

986


Can destructor be overloaded?

979


What are the benefits of interface?

993


What makes a language oop?

1009


What is class encapsulation?

1032


What is object in oops?

1024


Which method cannot be overridden?

1021


Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?

4679


Get me an image implementation program.

1941


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

3178


Which is not an object oriented programming language?

941


Is react oop?

1016


Who invented oop?

1067