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
In which language java is written?
What is the difference between a loader and a compiler?
What’s the difference between constructors and other methods?
What are the changes in java.io in java 8 ?
Is cout buffered?
What is rule of accessibility in java?
What is the purpose of using bufferedinputstream and bufferedoutputstream classes?
What is meant by 'Class access modifiers'?
Can you make a constructor final in Java?
What is balanced tree in java?
What is a static class in java?
which is advanced deep technology in java launched by the sun microsystem??? The answer is very logical If u need correct answer mail me at priya_gupta@gmail.com
What is adapter in java?
Why does java does not support multiple inheritance? Explain
If an object reference is set to null, will the garbage collector immediately free the memory held by that object?