in JAVA by
Q:
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

0 votes
asked Jun 17, 2019 in JAVA by reins.robin
+1 vote
asked Jun 16, 2019 in JAVA by reins.robin
0 votes
asked Jun 16, 2019 in JAVA by reins.robin
0 votes
asked Sep 3, 2019 in JAVA by Robin
...