Infosys interview question

write a program to show interface