Question d’entretien chez OpenTable

What is the difference between inheritance and composition?