Exception handling is the process of responding to the occurrence, during computation, of exceptions – anomalous or exceptional conditions requiring special processing – often changing the normal flow of program execution. (Wikipedia)
Java has built-in mechanism to handle exceptions. Using the try statement we can test a block of code for errors. The catch block contains the code that says what to do if exception occurs.
This problem will test your knowledge on try-catch block.
On this page of the site you can watch the video online 36. Exception Handling (Try-Catch) - Java | Exception Handling | Hackerrank with a duration of hours minute second in good quality, which was uploaded by the user Learn to code 15 December 2018, share the link with friends and acquaintances, this video has already been watched 6,760 times on youtube and it was liked by 53 viewers. Enjoy your viewing!