All > Technology > Programming > Java
Immediately before an object is garbage collected, its
finalize
method is called. This gives it the opportunity to free any resources it might be holding on to.- Browse Related Terms: array, base type, deep copy, dynamic type, finalization, garbage collection, heterogeneous collection, homogeneous collection, shallow copy, subarray