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.
In questa pagina del sito puoi guardare il video online Learn Java Programming - The Finalize Method Tutorial della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Daniel Ross 04 agosto 2015, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 15,162 volte e gli è piaciuto 151 spettatori. Buona visione!