Polymorphism in c++
The term “Polymorphism” is the combination of “poly” + “morphs” which means many forms. It is a greek word. In object-oriented programming, we use 3 main concepts: inheritance, encapsulation, and polymorphism. In C++ polymorphism is mainly divided into two types: Compile time PolymorphismRuntime Polymorphism Compile Time Polymorphism This type of polymorphism is achieved by function…
View On WordPress










