Is it necessary that each try block must be followed by a catch block? Ans. 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. - Study24x7
Social learning Network
04 Dec 2023 11:37 AM study24x7 study24x7

Is it necessary that each try block must be followed by a catch block? Ans. 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 decl...

See more

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles