try, catch, finally keywords are used to deal with exception handling in java program. The code which can throw exception, we write
inside the try block. Exceptions which come inside the try block , are handle inside the catch blocks. Finally blocks are executed for sure
irrespective of exception in try block.
Custom JVM Exception Handler:
Interview Coding Question for finally block:
Interview Coding Question for nested finally block: