WHAT IS THE PURPOSE OF FINALIZE() METHOD?

Mayank Tripathi

Total Post:807

Points:4035
Posted by  Mayank Tripathi
Java 
 798  View(s)
Ratings:
Rate this:
  1. Mayank Tripathi

    Post:807

    Points:4035
    What is the purpose of finalize() method?

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

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!