Latest Tutorials| Questions and Answers|Ask Questions?|Site Map


View Questions and Answers by Category


Have Programming Question? Ask it here!

finalize() method
1 Answer(s)      4 years and 6 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: