Question d’entretien chez Cambly

What was the difference between composition and inheritance?