---
title: "Is it necessary that each try block must be followed by a catch block?"  
description: "Is it necessary that each try block must be followed by a catch block?"  
author: "Anonymous User"  
published: 2015-04-23  
updated: 2020-09-14  
canonical: https://www.mindstick.com/interview/2427/is-it-necessary-that-each-try-block-must-be-followed-by-a-catch-block  
category: "java"  
tags: ["exception handling", "java"]  
reading_time: 1 minute  

---

# Is it necessary that each try block must be followed by a catch block?

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. And whatever exceptions are likely to be thrown should be declared in the throws clause of the method

## Answers

### Answer by Anonymous User

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. And whatever exceptions are likely to be thrown should be declared in the throws clause of the method


---

Original Source: https://www.mindstick.com/interview/2427/is-it-necessary-that-each-try-block-must-be-followed-by-a-catch-block

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
