Pergunta de entrevista da empresa Amazon

Differences on memory handling between C++ and Java.