When garbage collector invokes object?s finalize() method?
Answer Posted / sameer
First the object has become unreachable
second the finalize() method call
third the object collect by garbage
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
When should a function throw an exception?
What is a return in java?
Differentiate between a constructor and a method? Can we mark constructors final?
What is concurrent hashmap and its features?
Differentiate between stringbuffer and stringbuilder in java.
Can we have 2 main methods in java class?
how come we know the object is no more used in the class?
what do you mean by classloader?
Why we cannot override static method?
What is static import in java?
What is void keyword?
What is meant by attribute?
What are different types of encoding?
Which is faster call by value or call by reference?
What methodology can be employed to locate substrings inside a string?