Pergunta de entrevista da empresa MindGate Solutions

Difference between Heap and Stack Memory in java. And how java utilizes this.

Resposta da entrevista

Sigiloso

19 de abr. de 2024

Stack memory is the portion of memory that was assigned to every individual program. And it was fixed. On the other hand, Heap memory is the portion that was not allocated to the java program but it will be available for use by the java program when it is required, mostly during the runtime of the program.