Forums Java Help What is the purpose of finalization

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.