Finalize is used to perform clean up processing just before an object is garbage collected. Finalize is a method.