+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.

...