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 |
Can we sort set in java?
What does you mean in math?
Which package has light weight components in java programming?
What is command line argument in java?
What are the different ways of creating thread?
What is difference between next () and nextline () in java?
What is instance synchronization?
What is 16 bits called?
Is 0 true or is 1 true?
What is constructor and its types?
Can I have constructor in Interface?
What are the types of methods in java?