what is java.lang.arithmeticexception java code example
Example: arithmetic exception
It occurs when there is an error
in the aritchmatic logic. For
Example we can't divide int to 0.
In this case it will throw arithmatic
exception and we can handle with
try catch block.(unchecked exception)