Pergunta de entrevista da empresa EAB

Q: what is inheritance in OOP?