0

What's the differences between virtual function and polymorphism??!??

c++

27th Nov 2016, 7:11 AM
PROGRAMMER YOUSUF KOMOR
PROGRAMMER YOUSUF KOMOR - avatar
2 ответов
+ 1
Polymorphism is mechanism of making classes polymorphic. It is done by defining virtual functions in classes. It includes at least two classes: base and derived.
27th Nov 2016, 7:38 AM
px16
px16 - avatar
0
thanks px16
2nd Dec 2016, 5:35 AM
PROGRAMMER YOUSUF KOMOR
PROGRAMMER YOUSUF KOMOR - avatar