Login
Remember
Register
CodersEditor Q&A
Online IDE
Questions
Unanswered
Tags
Users
Ask a Question
Programming Tutorials
Ask a Question
Can we write multiple catch blocks under single try block?
0
votes
asked
Jan 20, 2021
by
abitha
(
1.6k
points)
java
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jan 27, 2021
by
Annie
(
1.1k
points)
No, you cannot have multiple try blocks with a single catch block. Each try block must be followed by catch or finally.
Please
log in
or
register
to add a comment.
Welcome to CodersEditor Q&A, where you can ask questions and receive answers from other members of the community.
239
questions
203
answers
2
comments
692
users
Related questions
Can we Overload or Override static methods in Java?
What is singleton class in Java and how can we make a class singleton?
Can we Overload or Override static methods in Java?
Write a detailed overview on Java programming.
What is multiple inheritance? Is it supported by Java?
...