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 |
what is deadlock in threads? with example
What is the += operator called?
What are streams in java 8?
What is the synonym of framework?
How hashmap increases its size in java?
Difference between flush() and commit() in hibernate?
How Applets & Servlets will communicate with each other?
What is wrapper class html?
Is arraylist zero based?
Is {a, n, d} a palindrome? If you are given a random string, is it a palindrome or not?
how a programmer confirms that the data submitted has been succesfully inserted into the database(either oracle or my sql).. How a programmer confirm if there is any problem with the program he wrote for insertion
What are access specifiers available in java?