In the context of "exception
handling" "try", "catch", "finally",
"throw" and" throws" plays an analogous role in the java
programming language.
"try": This block will
throw an exception.
"catch": This block will catch an exception that is raised in the
"try" block.
"finally": This block will be execute irrespective of the
exception.
|
No comments:
Post a Comment