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 |
what state does a thread enter when it terminates its processing? : Java thread
what is the use of clone() in real time scenario?
What do you mean by composition in java?
Why do we create public static method in java?
Can you sort a string in java?
what is polymorphism?
What is collection class in java?
Can we declare an array without size in java?
If A Class Is Declared Without Any Access Modifiers, Where May The Class Be Accessed?
What is the purpose of interface?
Which is the best way of exception handling?
What are the steps that are followed when two computers connect through tcp?