Jump Trading interview question

How virtual function works