Pergunta de entrevista da empresa BlackBerry

What is the difference between final, finally and finalize?

Resposta da entrevista

Sigiloso

14 de mar. de 2015

A final class can not be subclassed. A final variable can not be assigned another value. finally is a clause of a try block that will always be run. finalize() will be called by the garbage collector when it removes a class that no longer has references.

1