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

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

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