E lembrem-se (Dica, Garbage Collector)

Space for objects created with the new operator are allocated in the heap. Method arguments or local variables are created on the stack.
Objects created in the heap have a longer lifetime.

:smiley:

Aproveita e traduza para os amigos que falam português apenas.

[quote=peerless]Space for objects created with the new operator are allocated in the heap. Method arguments or local variables are created on the stack.
Objects created in the heap have a longer lifetime.

:smiley: [/quote]

Posso tentar:

O Espaço para os objetos criados com o operador new são alocados na Memória Heap.Argumentos de métodos ou variáveis locais são criados na Memória Stack.
Objetos criados na Memória Heap tem um tempo de vida maior.

stack == a pilha!! so para facilitar… quem fizer a prova em portugues vai ta la pilha… e nao stack :smiley:

Boa lembrança Camilo, muito boa.