finalize() method
1 Answer(s)      6 years and 5 months ago
Posted in : Java Interview Questions
Can an object's finalize() method be invoked while it is reachable?


View Answers

October 16, 2010 at 5:31 PM

An object?s finalize() method cannot be invoked by the garbage collector while the object is still reachable. However, an object?s finalize() method may be invoked by other objects.

Related Tutorials/Questions & Answers: