A)
To implement Exception handling we have 2 kinds of supports from java.
1) Language support
2) Library support
->As far as language support is concerned, we have the fallowing keywords in java to handle exception.
1) try
2) catch
3) throw
4) throws
5) finally
->These are part of language not part of libraries. These are copied from as it is “c language” i.e. try, catch and throw. Additional two are added extra in java.
->in java Api we have some built in library exception classes.
Comments
Post a Comment