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...

difference between the run time polymorphism and compile
time poly morphism and about virtual function.

Answer Posted / sangita pradhan

Compile time polymorphism(Static polymorphism) means
basically those language structure which will cause the
compiler to produce code at the compile-time. That is, the
compiler is well aware that what code is to be generated at
the compile-time itself: Ex: overloading of operators,
functions.

Run time Polymorphism(Dynamic Polymorphism)means that the
compiler is unaware what code is to be generated so it binds
the possible code and let the program decide it at the
run-time itself.Ex: the virtualness of a class member or the
entire class itself.

Is This Answer Correct ?    79 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many pointers are necessary to implement a simple linked list?

1119


What is the purpose of thread?

956


Why is the isempty() member method called?

1040


What are the pre-requisite for the collection to perform binary search?

885


What is array define its types?

948


How do hash tables work?

893


Why is reflection slower?

897


Is data structures and algorithms important?

932


Does arraylist maintain order?

902


How would you use bsearch() function to search a name stored in array of pointers to string?

849


What are the major data structures used in the following areas : network data model & hierarchical data model?

1028


Who invented data structure?

1079


Is hashtable throw concurrentmodificationexception?

760


How do you make a bubble chart with 3 variables?

893


Why is data structure used?

975