Home / Questions / Is it necessary that each try block must be followed by a catch block?
Explanatory Question

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

👁 1,474 Views
📘 Detailed Answer
🕒 Easy to Read
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.

Answer with Explanation

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.