Pergunta de entrevista da empresa General Dynamics Mission Systems

What would happen if you put objects in a stack past its limit?

Resposta da entrevista

Sigiloso

18 de jan. de 2018

Objects don't live in the stack, they live in the heap. Object references live in the stack. If the stack does go past its limit you would get a stack overflow error.

1