May 31, 2020 in JAVA
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
May 31, 2020

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
Oct 31, 2019 in Other
+1 vote
Jul 16, 2019 in JavaScript