Question d’entretien chez Cognizant

Write a code of method overriding in python