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
What is output buffer?
Write a program in java to calculate the difference between the sum of the odd level and even level nodes of a binary tree.
Differences between traditional programming language and object oriented programming language?
What super () does in java?
What are the different types of inheritance in java?
What is the base class of all classes?
What is the use of a copy constructor?
How can I right-justify a string?
What does t in java mean?
What is the concatenation operator in java?
What is getclass () getname () in java?
Why does my function print none?
How do you use compareto in java?
Explain different forms of polymorphism?
How can we create an immutable class in java?