Is It Necessary That Each Try Block Must Be Followed By A Catch Block

Is It Necessary That Each Try Block Must Be Followed By A Catch Block


  • 29 Dec, 2011

    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.

    Comments Received:
    Please give your suggestions and feedback:

2009-2016 downloadmela.com. All rights reserved.