Pregunta de entrevista de Infosys

What is inheritance/polymorphism?