Pergunta de entrevista da empresa Siemens Digital Industries Software

Difference between inheritance and polymorphism?