Actually out side the catch block u can write the mandatory codes but when an exception occurred before the mandatory statement then these codes are not
executed so in a program finally block are execute, whether there is some exception occur or not, so the mandatory statement must execute.