0
How many catch blocks can a try/catch block contain?
5 Answers
+ 2
as many as you need
+ 2
you can have many catches. also you can use || and &&
+ 1
If you want multiple catches then you add them after each other. Multiple try's you would have to nest.
0
you can have all mano catch for control you message of exceptions
0
Infinitely many. As long as you have space on your hard disk, you can keep on writing multiple catch blocks