employer cover photo
employer logo
employer logo

ValueFirst Digital Media

Is this your company?

ValueFirst Digital Media interview question

Difference between finally block and finalize method?

Interview Answer

Anonymous

2 Nov 2020

Finally is used to place important code, it will be executed whether exception is handled or not. Finalize is used to perform clean up processing just before object is garbage collected. Final is a keyword. Finally is a block.