Question d’entretien chez Tudip Technologies

What is finally? Finalize().

Réponse à la question d'entretien

Utilisateur anonyme

25 juin 2017

finally is a block of statement which is used with try catch but it's optional, in finally block we write those statements which should be executed before the program terminates, while finalize is a method which called by JVM to deallocate the memory.

4