Question d’entretien chez UnitedHealth Group

Expalin the difference between the Java clauses: "final", "finalize", and "finally"

Réponse à la question d'entretien

Utilisateur anonyme

23 avr. 2012

"final" is a modifier that indicates the class or method cannot be extended. "Finalize" is a method that executes just before an object is destroyed. "Finally" is part of the Try/Catch block.

4