Styrow.dev
Question 224 of 247
Java Topic: General medium

Which arithmetic operations can result in the throwing of an ArithmeticException?

Question

Which arithmetic operations can result in the throwing of an ArithmeticException?

Answer

Integer / and % can result in the throwing of an ArithmeticException.