Forums Java Help What is finalize method

This topic contains 1 reply, has 1 voice, and was last updated by  Aakanksha 8 years, 4 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4614

    Aakanksha
    Participant

    What is finalize() method?

    #11655

    Aakanksha
    Participant

    finalize () method is used just before an object is destroyed and can be called just prior to garbage collection.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.