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 |
When is the garbage collection used in Java?
Explain access specifiers?
0 Answers Thomson Reuters, Virtusa,
What is sortedmap in java?
What does %4d mean in java?
What is an exception in java?
can write code for serialization ?
Discuss 2D arrays.
Is main an identifier?
What is constructor and its types?
Can we override protected method in java?
How can you read an integer value from the keyword when the application is runtime in java? example?
any other way to print the text without using System.out.println() in java?