try, catch, finally :
try, catch, finally are the three exception handler components in java.
These 3 are mandatory components to write exception handler code.
In try block we write resources statement, and in catch block we catch the exception object raised in try block , and in finally block we write resources release code.
No comments:
Post a Comment