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 |
What is javac in java?
How many static init can you have?
What is the java reflection api? Why it’s so important to have?
how to identify duplicate values in arraylist
How are variables stored?
What is a function argument in java?
What is variable and example?
Write a program to create a binary Tree ?
What is the significance of java packages?
What is encapsulation? Elaborate with example?
java program with complete 4 oops concepts implemented example
What causes memory leaks in java?