Tell us what is a finally block? Is there a case when finally will not execute?

Submitted by: Muhammad
Finally block is a block which always executes a set of statements. It is always associated with a try block regardless of any exception that occurs or not.
Yes, finally will not be executed if the program exits either by calling System.exit() or by causing a fatal error that causes the process to abort.
Submitted by: Muhammad

Read Online Sr.Java Web Developer Job Interview Questions And Answers