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 type parameter in java?
How garbage collection is done in java?
What is consumer interface?
How are the elements of a gridbaglayout organized?
What is identifier with example?
What are the ways to instantiate the class class?
Can a class be a super class and a sub-class at the same time? Give example.
What is a class in java?
What are triggers in DB? Explain their types. How do they work?
how to create constants in java?
What are the two types of exceptions in java? Which are the differences between them?
What is the default value of local and global variables?
Difference between == and .equals() ?
What is a Presistent Object?
When should I use singleton pattern?