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.

Related questions

+1 vote
asked Jan 24, 2020 in JAVA by rahuljain1
+3 votes
asked May 31, 2020 in JAVA by SakshiSharma
...