How can you ensure that the memory allocated by an object is freed.

Average Rating
0 out of 5 stars. 0 votes.

How can you ensure that the memory allocated by an object is freed.

Garbage collection cannot be forced. The programmer cannot force the JVM to free the memory used by an object.source: pskills