Capgemini Interview Question

Inheritance vs Polymorphism?