Write a c++ program to implement polymorphism.
Answers
Answered by
2
C++ polymorphism means that a call to a member function will cause a different function to be executed depending on the type of object that invokes the function. ... You have different classes with a function of the same name, and even the same parameters, but with different implementations.
Polymorphism is a feature of OOPs that allows the object to behave differently in different conditions. In C++ we have two types of polymorphism: 1) Compile time Polymorphism– This is also known as static (or early) binding. 2) Runtime Polymorphism – This is also known as dynamic (or late) binding.
Hope it helps you
Please make me as brainliest
Polymorphism is a feature of OOPs that allows the object to behave differently in different conditions. In C++ we have two types of polymorphism: 1) Compile time Polymorphism– This is also known as static (or early) binding. 2) Runtime Polymorphism – This is also known as dynamic (or late) binding.
Hope it helps you
Please make me as brainliest
Hisana45:
Program??
Similar questions