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.

you can write multiple catch blocks for a try block, but only the exception block that closely matches the exception is executed.

Ram
Ram

I'm a full-stack developer and a software enthusiast who likes to play around with cloud and tech stack out of curiosity. You can connect with me on Medium, Twitter or LinkedIn.