So polimorphism is virtual functions?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

So polimorphism is virtual functions??

???

7th Aug 2016, 7:26 PM
Thedudeplaysmc3
Thedudeplaysmc3 - avatar
2 Answers
+ 6
Jep. Or let's say only virtual functions are polymorphic. Therefore polymorphism as a concept is present in C++, iff virtual functions are used.
7th Aug 2016, 7:57 PM
Stefan
Stefan - avatar
- 1
Thx and sry for the long response:)
8th Aug 2016, 3:39 PM
Thedudeplaysmc3
Thedudeplaysmc3 - avatar