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

What is array in data structure with example?

886


What is a reverse linked list.

968


Is linked list faster than array?

792


Can we create a null as a key for a map collection?

868


How is bubble sort done?

799


What is the time complexity of arraylist and linked list?

858


How efficient is binary search?

821


What is complete binary tree in data structure?

912


What is structure of data type?

840


What is a undirected graph?

916


Is heap sort adaptive?

791


Which data structures are used in bfs and dfs algorithm?

971


What is the use of bubble sort?

831


What are the 3 control structures in programming?

871


Differentiate between push and pop?

1169