1. Exception handling in java 2. What is Exception An exception is an event, which occurs during the execution of a program, that disrupts the normal flow of the program's…