0

why c++ uses virtual function ??

12th Aug 2016, 8:36 PM
Nisarg Kadam
Nisarg Kadam - avatar
2 Réponses
- 1
In object-oriented programming, in languages such as C++, a virtual function or virtual method is an inheritable and overridable function or method for which dynamic dispatch is facilitated. This concept is an important part of the (runtime) polymorphism portion of object-oriented programming (OOP).
13th Aug 2016, 3:09 PM
Tushar Chetan
Tushar Chetan - avatar
- 3
because this language it's virtual use the virtual number and function
12th Aug 2016, 10:52 PM
El Hannach Mouhcine
El Hannach Mouhcine - avatar