How to re-get an object that is collected by garbage
collector?
Answer / 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 |
why to use transient variables when static variables can be used for Serialization
What is the size of int in 64-bit jvm?
What is JDBC Driver interface?How can you retrieve data from the ResultSet
Why do we need data structure in java?
What is the use of math abs in java?
What is a class instance variable?
What is a data structure java?
Does java initialize arrays to zero?
What are latest features introduced with java 8?
Can we execute a program without main() method?
How can we pass argument to a function by reference instead of pass by value?
what is wrapper class and its uses?