Broadridge interview question

Write a code to explain polymorphism concept.