Infosys interview question

difference between class and interface