Domanda di colloquio di Dailymotion

What the difference between "finally" and "finalize"?

Risposta di colloquio

Anonimo

31 lug 2015

- "finally" is used in a try/catch statement to execute code "always" - "finalize" is called when an object is garbage collected. You rarely need to override it.