Home / Questions / Under what conditions is an object's finalize() method invoked by the garbage collector?
Explanatory Question

Under what conditions is an object's finalize() method invoked by the garbage collector?

👁 12,246 Views
📘 Detailed Answer
🕒 Easy to Read
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.

Answer with Explanation

The garbage collector invokes an object's finalize() method when it detects that the object has become unreachable.