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 difference between float and double?
What is string value?
What is callable java?
Can we have static methods in an interface?
What is multithreading in java?
When do you create an index?
What is the use of beaninfo?
Explain about oops concepts.
0 Answers Aditi Placement Service,
List some java keywords sun like c, c + + keywords?
Can we overload the main() method?
What is the default value of an object reference declared as an instance variable?
When should I use stringbuffer?