Domanda di colloquio di Morgan Stanley

Can you use template and virtual function in the same class?

Risposte di colloquio

Anonimo

18 feb 2011

The code may compile but there is no polymorphism working here.

1

Anonimo

8 giu 2010

yes, I tried it, we can combine them, the compile methods ran successfully