+3 votes
in JAVA by
I want to re-reach and use an object once it has been garbage collected. Define How it’s possible in Java?

1 Answer

0 votes
by

Once an object has been destroyed by garbage collector, it no longer exists on the heap and it can’t be accessed again. There is no way to reference it again.

Related questions

+2 votes
asked May 31, 2020 in JAVA by SakshiSharma
+1 vote
asked Jun 16, 2019 in JAVA by reins.robin
...