Question d’entretien chez Morningstar

What is inheritance explain with example