Question d’entretien chez Arm

What is virtual function

Réponse à la question d'entretien

Utilisateur anonyme

31 janv. 2017

A virtual function is a member function that you expect to be redefined in derived classes. When you refer to a derived class object using a pointer or a reference to the base class, you can call a virtual function for that object and execute the derived class's version of the function.