Pregunta de entrevista de Bloomberg

Difference between inheritance and interface?