In my Garbage Collection tutorial, I discussed how Java uses the garbage collector to free up memory on the heap. Objects are stored in the heap memory and they become eligible for cleanup when they no longer have an active reference. There are occasions when you will need to perform some sort of action when an object is about to be destroyed. Luckily, Java provides a method for doing just that, it is called the finalize() method. Unluckily, it is important to understand that the finalize() method cannot be relied upon to actually execute ... I'll explain later in this tutorial.
Sur cette page du site, vous pouvez voir la vidéo en ligne Learn Java Programming - The Finalize Method Tutorial durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Daniel Ross 04 août 2015, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 15,162 fois et il a aimé 151 téléspectateurs. Bon visionnage!