Pergunta de entrevista da empresa Oracle

Difference between heap and stack