Pergunta de entrevista da empresa General Mills

What is inheritance in OOP?