Domanda di colloquio di Treyarch

In C++, what is a pure virtual function?

Risposte di colloquio

Anonimo

5 mag 2015

A pure virtual function is a virtual function which as not been implemented in the superclass, and therefore must be explicitly defined in the inheriting class.

5

Anonimo

8 mar 2015

A virtual function is a function when inheriting the class, you should use the recommend methods provided by the virtual class that may not be defined.

1