Q9
In Java, which exception is thrown when attempting to divide by zero?
A.
NullPointerException
B.
ArrayIndexOutOfBoundsException
C.
ArithmeticException
AnswerD.
IllegalArgumentException
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board