1.

Is it possible that the ‘finally’ block will not be executed? If yes then list the case.

Answer»

 YES. It is possible that the ‘finally’ BLOCK will not be executed. The CASES are-

  • Suppose we use System.exit() in the above statement.
  • If there are fatal errors LIKE Stack overflow, Memory access error, etc.


Discussion

No Comment Found