Which of the following exceptions is thrown when a 'divide by zero' statement…

Which of the following exceptions is thrown when a 'divide by zero' statement (integer division) is executed in Java?

  1. A.

    NullPointerException

  2. B.

    NumberFormatException

  3. C.

    ArithmeticException

  4. D.

    None

Attempted by 111 students.

Sign up free to check your answer

Sign up free

Explore the full course: Tpsc Assistant Technical Officer

Loading lesson…