Computer Science, asked by riya20ratnabodhi, 9 months ago

memory allocation for objects in Java programming​

Answers

Answered by Subham200813
2

Answer:

Java Heap Space

The discrete function, like Garbage Collection, keeps flushing the memory used by the previous objects that hold no reference. For an object created in the Heap Space can have free access across the application. The Memory allocation in java is divided into parts, namely Heap, Stack, Code, and Static

Answered by Ankitachettri
4

answer- the discrete function, like garbage collection, keeps flushing the memory used by the previous objects that hold on reference. for an object created in the heap space can have free access across the application. the memory allocation in java is divided into parts, namely heap,stack,code and static.

Attachments:
Similar questions