Examveda
Examveda

In Java, which exception is thrown when attempting to divide by zero?

A. NullPointerException

B. ArrayIndexOutOfBoundsException

C. ArithmeticException

D. IllegalArgumentException

Answer: Option C


This Question Belongs to Java Program >> Miscellaneous In Java

Join The Discussion

Related Questions on Miscellaneous in Java