Compare compile time polymorphism and Runtime polymorphism

Answer Posted / hrpynux@gmail.com

In Compile time Polymorphism, the call is resolved by the compiler. In Run time Polymorphism, the call is not resolved by the compiler. It is also known as Static binding, Early binding and overloading as well. It is also known as Dynamic binding, Late binding and overriding as well

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is oops in c++?

680


What methods can be overridden in java?

758


How can virtual functions in c++ be implemented?

698


Describe private, protected and public – the differences and give examples.

678


Is sorted c++?

680






If we want that any wildcard characters in the command line arguments should be appropriately expanded, are we required to make any special provision? If yes, which?

1115


What is name hiding in c++?

737


What is the difference between struct and class?

878


How did c++ start?

703


Distinguish between new and malloc and delete and free().

653


What is a namespace in c++?

707


Can a new be used in place of old mallocq? If yes, why?

719


What do you mean by delegate? Can a user retain delegates?

605


Explain polymorphism?

675


How a pointer differs from a reference?

810