How Does A Try Statement Determine Which Catch Clause Should Be Used To Handle An Exception

How Does A Try Statement Determine Which Catch Clause Should Be Used To Handle An Exception


  • 29 Dec, 2011

    When an exception is thrown within the body of a try statement, the catch clauses of the try statement are examined in the order in which they appear. The first catch clause that is capable of handling the exceptionis executed. The remaining catch clauses are ignored.

    Comments Received:
    Please give your suggestions and feedback:

2009-2016 downloadmela.com. All rights reserved.