Exception Handling in Java Part-3
Try with Multiple Catch Blocks in Java In some cases, codes inside the try block can throw multiple types of exceptions. Since, one catch block can only catch single type of exception, we have to create multiple catch blocks to catch different exceptions. In java, single try block can have more than one catch blocks. …