A

Admin • 828.03K Points
Coach

Q. Which exception is thrown when a number is divided by zero?

  • (A) NullPointerException
  • (B) IOException
  • (C) ArithmeticException
  • (D) IllegalArgumentException

Explanation by: Admin
Dividing a number by zero throws ArithmeticException.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.