Capgemini interview question

polymorphism inheritance