Morgan Stanley Interview Question

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

Interview Answers

Anonymous

Feb 18, 2011

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

1

Anonymous

Jun 8, 2010

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