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
Are arrays immutable in java?
What is a class reference?
How can we create a synchronized collection from given collection?
How to display all the prime numbers between 1 and 100
Why can't we override private static methods?
What is instance means in java?
What are the ways to instantiate the class class?
Can we define constructor in inner class?
How do you define a set in java?
What state does a thread enter when it terminates its processing in java programming?
Can static methods be inherited?
What is a singleton class in Java?
What is a final class in java?
What does it mean to be immutable?
What is floor math?