Pergunta de entrevista da empresa BlackRock

Compare and contrast inheritance and abstraction in Java.