When garbage collector invokes object?s finalize() method?
Answers were Sorted based on User's Feedback
Answer / sameer
First the object has become unreachable
second the finalize() method call
third the object collect by garbage
| Is This Answer Correct ? | 3 Yes | 0 No |
when it detects vthat the object has become unreachable
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / ravikiran(aptech mumbai)
before the unused objects ges garbage collected
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / saravanan
unreachable object opportunity to perform the cleaning
process before garbage collect.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / rana.ankur
garbage collector ie demon thread invokes finalize method
to give the last chance to object to save it resorces and
data
| Is This Answer Correct ? | 0 Yes | 0 No |
Is 0 true or is 1 true?
What is a void method?
What is actual difference between statement,prepared statement and callable statement and when we have to use it? pls post a answer with code and clear explanation. thanks
what is the main difference between string and stringbuffer? can you explain it with program?
What is the right data type to represent a price in java?
Explain implementation and how is it different from conversion?
What is the default execution method in java?
How variables are stored in memory?
what is the use of abstract class?
3 Answers Amdocs, Atos Origin, Invictus,
What are anonymous inner classes?
What is internal iteration in java se 8?
Explain all java features with real time examples