Java exception handling is managed via five keywords
- try
- catch
- throw
- throws
- finally
Advantage of try catch:
- It allows you to fix error.
- It prevents the program from automatically terminating.
No comments:
Post a Comment