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 |
how to handle a singleton service locator. when multiple threads are trying to get the singleton object in same time
what are the high-level thread states? : Java thread
What does int argc char * argv [] mean?
What is immutable in java?
Which browsers work with java?
how to transactions(Bank transactions) in business process in ejb?
What is a package in java? List down various advantages of packages.
What is the difference between a checked and an unchecked exception?
How do you compare objects in java?
Is arraylist zero based?
How can you say java is object oriented?
What are the methods used to implement for the key object in the hash map?