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

Short Answer
Views 12168

Answer:

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

Related Articles:

This section is dedicated exclusively to Questions & Answers. For an in-depth exploration of Java Programming Language, click the links and dive deeper into this subject.

Join Our telegram group to ask Questions

Click below button to join our groups.