how to deal with exceptions in java from method code example
Example: exceptions in java
Unchecked:
-IndexOutOfBounds exception(while working with arrays/strings)
-NullPointerException(if I forget to instantiate the objects)
-ArithmaticException
Checked:
-IOException
-SQLException
-FileNotFountException