When do use need multiple catch handlers ?

Short Answer
Views 14

Answer:

Sometimes a program has more than one condition to throw exceptions. In such cases, one can associate more than one catch statement with a try.

Related Articles:

This section is dedicated exclusively to Questions & Answers. For an in-depth exploration of Java Programming Language, click the links and dive deeper into this subject.

Join Our telegram group to ask Questions

Click below button to join our groups.