Domanda di colloquio di Capgemini

the coding question to implement inheritance and polymorphism