0
why c++ uses virtual function ??
2 Answers
- 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).
- 3
because this language it's virtual use the virtual number and function