Polymorphism in C++

What is Polymorphism ? Polymorphism comes from the Greek words “poly” and “morphism”. “poly” means many and “morphism” means form i.e.. many forms. Polymorphism means the ability to take more than one form. Polymorphism allows a single name to be reused for several related but different purposes. The purpose of polymorphism is to allow one name to be used for a general class. Depending on the type of data, a specific instance of the general case is executed. Polymorphism is subdivided in two concepts Compile Time( static) polymorphism and Run…

Read More