Pergunta de entrevista da empresa Cognizant

Write a code of method overriding in python