Infosys Interview Question

What is the use of constructor and interface