How many times garbage collector will invoke an object?s
finalize() method?
Answers were Sorted based on User's Feedback
whenever object is go beyond the reachable gc invoked the
object by the finalize method, but it should be atleast
once in life cycle.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / ravikiran(aptech mumbai)
only once before garbage collection or it may depend on the
garbage collector.
| Is This Answer Correct ? | 1 Yes | 0 No |
explain the difference between jdk and jvm?
How do you make a thread in java?
What is the difference between post and put?
Difference between overloading and overridding?
How do you escape in java?
If we allocate the memory using 'new' & de-allocated using 'free' then what will happen?
What is difference between static and final?
Why is Java a platform independent language?
Garbage collection in java?
Infinite loop using while ?
What is the SimpleTimeZone class?
What is a stack class in java ?
0 Answers Akamai Technologies,