+ 1
Useful Java Exceptions
Well, I learnt how to make my own exceptions with Java. But could you suggest me some useful and wide spread exceptions? P's:in my code there is an Exception, when you enter not an integer number, and MyException, when you enter number 2 (me and my code don't like this number) https://code.sololearn.com/cvUnncNdSNQu/?ref=app
1 Respuesta
+ 5
The most common Exceptions are probably:
NullReferenceException,
ArrayIndexOutOfBoundsException,
IOException,
InputMisMatchException,
ArithmeticException,
ClassCastException,
Exception