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 procedure writing?
How to create an instance of a class without using "new" operator? Plz help me out properly.Thank u.
What are the different ways of creating thread?
What is not thread safe?
how can you retrive information from database by using hashmap/arraylist ,plz explain with example briefly?
i need to know the website that i can compile and run a java code in online.(while system doesn't contain any jdk and jre)
What is function declaration?
What is difference between public static and void?
posted in online test
Why Over riding is Run Time Polymorphism?
Can we convert stringbuffer to string?
Can we have any code between try and finally blocks?