If an object with a finalize()
method has been garbage collected, which of the following are true about that object?
finalize()
method was invoked by the garbage collector. A, B, and C.
Only unreachable objects are garbage collected.
If an object has a finalize()
method, the garbage collector will invoke the object's finalize()
method before garbage collecting the object.
After an object has become garbage collected, its memory is subject to reuse.