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 |
If a variable is declared as private, where may the variable be accessed?
Explain java coding standards for constants?
Why set is used in java?
How many ways can we create singleton class?
Is java a security risk?
When is an object subject to garbage collection?
What is CardLayout?
What are the types of methodology?
How do you sort a set in java?
What is set in java?
Which number is denoted by leading 0x or 0x in java?
Can a private method be declared as static?