Domanda di colloquio di Cognizant

what is inheritance, method overriding?