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 a literal coding?
In Java list the methods that can be overridden?
How multipleInheritance is possible in java?
What is Interface?
Can you declare the main method as final?
What are 4 pillers of object orinted programming?
Explain the public class modifier?
Is final static java?
What means public static?
What is the size of int?
What is use of arraylist in java?
What are the 3 types of loops in java?