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

Short Answer
Views 15

Answer:

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.

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.