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


Please Help Members By Posting Answers For Below Questions

Can you give names of Container classes?

1843


Explain spliterator in java8?

591


Can a final variable be initialized in constructor?

477


What is exception propagation?

581


What are thread groups?

564






Why Do I Get A "permission Denied" Error After Downloading The .jnlp Java Launcher For The Vkvm?

614


What is instance means in java?

551


Does substring start with 0?

546


What is the file extension for java?

594


Explain about serializable interface in java?

569


What is the main difference between java platform and other platforms?

495


How do you use spaces in java?

515


What is the largest number a double can hold?

553


What is a qms manual?

533


Name some OOPS Concepts in Java?

629