Exceptions are 2 types.
1.Checked
2.Uncheked
All the exception for that compiler doesn't care are comes under unchecked exception i.e. ArithmaticException ArrayIndexOutofBoundexp etc
Exceptions which needs to be defined in throws clause of a method r checked exception ie.sevletException ClassNotFoundExp NoSuchFieldException etc
No comments:
Post a Comment