Computer Science, asked by Anonymous, 10 months ago

polymorphisms in c++​

Answers

Answered by prachi6133
1

▪Polymorphism in C++

▪Typically, polymorphism occurs when there is a hierarchy of classes and they are related by inheritance. 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...

i hope it helps you ✌☺

Answered by Anonymous
1

POLYMORPHISM:-

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.

Similar questions