Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

How can we reference an unreferenced object again?

Pragya Keshap answered on February 4, 2023 Popularity 2/10 Helpfulness 1/10

Contents


More Related Answers


How can we reference an unreferenced object again?

0

We can provide implementation in finalize() method to reference

and unreferenced object. For an unreferenced object, finalize()

method is called at the time of Garbage Collection. At this time,

Object can pass its reference ‘this’ to finalize() method and revive

itself.

https://www.javatpoint.com/q/4664/can-the-unreferenced-objects-be-referenced-again?#:~:text=Yes%20it%20is%20possible%20we,this%20keyword%20in%20finalize%20method.&text=The%20finalize()%20method%20is,do%20operations%20on%20the%20instance.

Popularity 2/10 Helpfulness 1/10 Language java
Source: Grepper
Link to this answer
Share Copy Link
Contributed on Feb 04 2023
Pragya Keshap
0 Answers  Avg Quality 2/10


X

Continue with Google

By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
X
Grepper Account Login Required

Oops, You will need to install Grepper and log-in to perform this action.