I have override the finalize() method to do some work while re-claiming the memory space of the objects.But somebody says that i have to call the parent’s finalize() in the overriding the finalize() method.But constructor automatically calls it super class constructor unlike finalize() method.
Can you enlighten me something on this…?
It is defined that way in the Java Language Specification #12.6 (emphasis mine):