Pergunta de entrevista da empresa General Motors (GM)

What are the differences between Heap and Stack in Java?