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

Q

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

✍: Guest

A

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

2012-12-26, 1912👍, 0💬