0 votes
in JAVA by
How is garbage collection done in Java?

1 Answer

0 votes
by

How is garbage collection done in Java?

Java has an automatic built-in garbage collection mechanism in place. Apart from the built-in mechanism, manual initiation of garbage collection can also be done by using the gc() of system class.

...