Capgemini interview question

Inheritance vs Polymorphism?