What are different type of exceptions in Java?
There are two types of Exceptions in Java:
-Unchecked Exception
All the exceptions for that compiler doesn't care are unchecked Exception
Arithmatic Exception, ArrayIndexOutofBoundexp etc
-Checked Exceptions
Exception which needs to be defined in throws clause of a method are called checked Exception like ClassNotFoundExp NoSuchFieldException etc