0 votes
in JAVA by
When does an Object becomes eligible for Garbage collection in Java ?

1 Answer

0 votes
by

A Java object is subject to garbage collection when it becomes unreachable to the program in which it is currently used.

Source: github.com/snowdream   

Related questions

0 votes
asked Oct 13, 2020 in JAVA by SakshiSharma
+1 vote
asked May 5, 2021 in JAVA by SakshiSharma
...