Home »
MCQs »
Java MCQs
The result of dividing by 0 in Java is ___
99. The result of dividing by 0 in Java is ___.
- Error
- Expectation
- Infinite
- None of these
Answer: B) Expectation
Explanation:
Dividing an integer by zero will result in an ArithmeticException.