What can prevent the execution of the code in finally block ? and what are the rules for catching multiple exceptions?

The death of thread

– Use of system.exit()

– Turning off the power to CPU

– An exception arising in the finally block itself

Rules for catching multiple exceptions

– A more specific catch block must precede a more general one in the source, else it

gives compilation error

– Only one catch block, that is first applicable one, will be executed