Pregunta de entrevista de Thoughtworks

Explain inheritance.