Pregunta de entrevista de NSETECH

Polymorphism coding questions were tricky