Domanda di colloquio di General Mills

What is inheritance in OOP?