Home > DeveloperSection > Interviews > What is the purpose of finalize() method?

Posted on    April-28-2015 12:01 AM

 Java Java 
Ratings:
 1 Answer(s)
  330  View(s)
Rate this:

Mayank Tripathi
Mayank Tripathi

Total Post:807

Points:4035
Posted on    April-28-2015 12:01 AM

finalize() method is invoked just before the object is garbage collected.It is used to perform cleanup processing

Don't want to miss updates? Please click the below button!

Follow MindStick