Which Of These Exceptions Will Be Thrown If We Use Null #505
Which of these exceptions will be thrown if we use null reference for an arithmetic operation?
This multiple choice question (MCQ) is related to the book/course gs gs128 Java. It can also be found in gs gs128 Exploring Java Lang Java IO - Java Built in Exceptions - Quiz No.1.
Which of these exceptions will be thrown if we use null reference for an arithmetic operation?
ArithmeticException
NullPointerException
IllegalAccessException
IllegalOperationException