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 different types of expressions?
What is the list interface?
Why is the singleton pattern considered to be an anti pattern?
What are different types of constants?
what is the Diff. between Access Specifiers and Access Modifiers?
39 Answers BMC, Cyber Shot, Infosys, VTS, Wipro,
what is the difference between Java Command Line and C command Line?
What are examples of modifiers?
Explain the concept of hashtables?
what is meta-Inf?
What are the limitations for static method?
byte a=5; byte b=5; byte c=a+b; System.out.println(c); whats the o/p?
Is jdk required on each machine to run a java program?