Question d’entretien chez Seven Peaks Software

How to use Polymorphism and Inheritance to make the code runnable?