Computer Science, asked by Vikuu5548, 1 year ago

Why it is necessary to call garbage collector

Answers

Answered by alpanabose
0

Answer:It is necessary to call garbage collector..

Explanation:It will collect all the garbage i.e all unwanted memory and relieve the user from any memory management problems

Answered by dassristi2016
0

The purpose of garbage collection is to identify and discard objects that are no longer needed by a program so that their resources can be reclaimed and reused. A Java object is subject to garbage collection when it becomes unreachable to the program in which it is used.

Similar questions