you can write multiple catch blocks for a try block, but only the exception block that closely matches the exception is executed.
![](https://i0.wp.com/referbruv.com/wp-content/uploads/2022/05/banner-image-questions-new.png?fit=1200%2C600&ssl=1)
Can we execute multiple catch blocks?
you can write multiple catch blocks for a try block, but only the exception block that closely matches the exception is executed.