✏️ Explanatory Question

What is finalize() method?

👁 768 Views
📘 Detailed Answer
768
Total Views
10
Related Qs
0%
Progress
💡

Answer with Explanation

It is possible to define a method that will be called just before an object's final destruction by the garbage collector. This method is called finalize( ), and it can be used to ensure that an object terminates cleanly.