Treyarch Interview Question

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

Interview Answers

Anonymous

May 5, 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

Anonymous

Mar 8, 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