IBM Interview Question

polymorphism concept