Forums Java Help What is the purpose of finalization

This topic contains 1 reply, has 2 voices, and was last updated by  Aakanksha 7 years, 4 months ago.

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

    ahprofessional
    Participant

    What is the purpose of finalization?

    #15266

    Aakanksha
    Participant

    The purpose of finalization is to give an unreachable object the opportunity to perform any cleanup processing before the object is garbage collected.

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

You must be logged in to reply to this topic.