EY Interview Question

Write a polymorphism program in any language