Pergunta de entrevista da empresa Revature

What's the difference between the abstract and inheritance?