Different types of Exception in Java
Top Exceptions in Java On the basis of source which triggers the exception, we divide exceptions into 2 types as: 1) JVM Exceptions: Exceptions which arrise automatically by the JVM whenever a particular event occurs are called JVM exceptions. For example: a) ArrayIndexOutOfBoundsException: It is the child class of RuntimeException and hence it is uncheck. It …