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

Java Programming Language >   Managing Errors and Exception >   About Java Tutorial  

Short Question

12365


Answer:

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


This Particular section is dedicated to Question & Answer only. If you want learn more about Java Programming Language. Then you can visit below links to get more depth on this subject.




Join Our telegram group to ask Questions

Click below button to join our groups.