In this example we will show how to use the try-catch exception handler. An exception is an error which may occur during the execution of a program and denotes that the normal flow of the program should be interrupted. NullPointerException, IOException, ArithmeticException, ArrayIndexOutOfBoundsException, are some among others commonly seen exceptions. Those exceptions can be handled […]