Pregunta de entrevista de Cognizant

Difference between class and interface