So polimorphism is virtual functions?? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 3

So polimorphism is virtual functions??

???

7th Aug 2016, 7:26 PM
Thedudeplaysmc3
Thedudeplaysmc3 - avatar
2 ответов
+ 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