A

Admin • 833.24K Points
Coach

Q. What will happen?
int a = 10 / 0;

  • (A) 0
  • (B) Infinity
  • (C) ArithmeticException
  • (D) No output

Explanation by: Admin

Division by zero throws an ArithmeticException.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.