Pergunta de entrevista da empresa Dailymotion

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

Resposta da entrevista

Sigiloso

31 de jul. de 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.