Run time Vs Compile time Polymorphism

Polymorphism is defined as one interface to control access to a general class of actions. There are two types of polymorphism one is compile time polymorphism and the other is run time polymorphism. Compile time polymorphism is functions and operators overloading. Runtime time polymorphism is done using inheritance and virtual functions.

so we can conclude that overriding is run time polymorphism and overloading is compile time polymorphism

Advertisements
Posted in Uncategorized | 1 Comment

The Optimism

“Achievement is measured by yardstick of vision and the respectability you earn through it.Its just about doing ordinary things extraordinarily. So give a try for every instance because there is no other way go.”

Posted in Uncategorized | 1 Comment