J.P. Morgan interview question

Polymorphism in C++?