How to re-get an object that is collected by garbage
collector?
Answer Posted / ravikiran(aptech mumbai)
once the object get garbage collected it's no longer
available.so before garbage collected inside the finalize()
method make the object serialze and save it into an output
stream
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
Can we call thread start () twice?
For class CFoo { }; what default methods will the compiler generate for you>?
Is java 9 released?
How do you invoke a method?
What is finalize()?
What is primitive array?
Why is method overloading not possible by changing the return type in java?
Why do we need data serialization?
What is the numeric promotion?
Which package has light weight components?
Define an applet in java?
Why is java so important?
What is an escape character in java?
What are the different approaches to implement a function to generate a random number?
What happens if we override only equals?