Is it necessary that each try block must be followed by a catch block?

Short Answer
Views 1383

Answer:

It is not necessary that each try block must be followed by a catch block. It should be followed by either a catch block or a finally block.

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.