Home / Questions / What is the function of catch block in exception handling ? Where does it appear in a program ?
Explanatory Question

What is the function of catch block in exception handling ? Where does it appear in a program ?

👁 27 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

A catch block is a group of Java statements that are used to handle a raised exception. Catch blocks should be placed after each try block.