Question d’entretien chez Cognizant

what is inheritance explain with a program...