HealthEdge Software Interview Question

They asked me to code polymorphism with interfaces in java