✏️ Explanatory Question

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

👁 12,253 Views
📘 Detailed Answer
No previous question
No next question
💡

Answer with Explanation

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

No previous question
No next question