Pergunta de entrevista da empresa ANZ

Difference between inheritance and interface in Java