Domanda di colloquio di Luxoft

there was a question about design patterns and virtual functions.