In object-oriented programming, in languages such as C++, and Object Pascal, 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).
read more >>