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 are the 3 types of control structures?
What is a Transient Object?
0 Answers InfoAxon Technologies,
What are different access specifiers in java? Explain
How many types of java are there?
1.what is the exact difference between applet and frame? 2.Do we use main method in frames?
What is the base class in java from which all classes are derived?
Is string a datatype?
What is the difference between length and length() method in java?
Is an object null?
how to deploy apache tomcat server to weblogic server in java
What are examples of modifiers?
Can we serialize singleton class?