Pergunta de entrevista da empresa Bloomberg

Difference between inheritance and interface?