Question OOP-EXC-0050
MediumWhich exception does Java throw for 10 / 0 with integers?
- A.
NumberFormatException
- B.
ArithmeticException
- C.
No exception; the result is infinity
- D.
IllegalStateException
Sign up free to see the answer and a step-by-step explanation.