How to re-get an object that is collected by garbage
collector?



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

Post New Answer

More Core Java Interview Questions

What is javac in java?

0 Answers  


How many static init can you have?

0 Answers  


What is the java reflection api? Why it’s so important to have?

0 Answers  


how to identify duplicate values in arraylist

2 Answers   TCS,


How are variables stored?

0 Answers  


What is a function argument in java?

0 Answers  


What is variable and example?

0 Answers  


Write a program to create a binary Tree ?

2 Answers  


What is the significance of java packages?

0 Answers  


What is encapsulation? Elaborate with example?

1 Answers   BMC,


java program with complete 4 oops concepts implemented example

0 Answers   Infosys, NIIT,


What causes memory leaks in java?

0 Answers  


Categories