Pergunta de entrevista da empresa Tudip Technologies

What is finally? Finalize().

Resposta da entrevista

Sigiloso

25 de jun. de 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