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

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

Diljit
Views: 639 | Community Opinion: 1

Tags..  Garbage Collector  Finalization  Java Interview  Core Java

Bookmark this page..



Ask a New Question Go to Home

Community Opinion/Answers
 
Devid Said..

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






What do you think? Add your opinion/answer
*Name
*your opinion/answer: