+ 4
what is the use of finalize() method.
2 Answers
+ 8
finalize() forces the run of the garbage collector: it does not destroy anything, it makes free the unused memory in the stack/heap.
+ 2
the finalize() method only approximates the function of a destructor.