Infosys Interview Question

call method using interface.