I want to re-reach and use an object once it has been garbage collected. How it’s possible?

By ayush goel in 22 Sep 2023 | 11:43 am
ayush goel

ayush goel

Student
Posts: 346
Member since: 21 Sep 2023

I want to re-reach and use an object once it has been garbage collected. How it’s possible?

22 Sep 2023 | 11:43 am
0 Likes
divas goyal

divas goyal

Student
Posts: 453
Member since: 22 Sep 2023

 Once an object is garbage collected in Java, it cannot be directly reached or used again. Java's garbage collector deallocates memory and removes references to the object, making it inaccessible.

23 Sep 2023 | 04:06 pm
0 Likes

Report

Please describe about the report short and clearly.