Nokia Interview Question

Explain virtual classes, how they work, their purposes, and how to code then