What is an Exception? List out various built-in exceptions in JAVA and explain any one Exception class with a suitable example. in Programming in Java
Example: exceptions you get in java
Unchecked:
-IndexOutOfBounds exception(while working with arrays/strings)
-NullPointerException(if I forget to instantiate the objects)
-ArithmaticException
Checked:
-IOException
-SQLException
-FileNotFountException