Question OOP-EXC-0028
EasyWhich exception does Java throw for integer division by zero?
- A.
NullPointerException
- B.
ArithmeticException
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Exception Handling question
Which exception does Java throw for integer division by zero?
NullPointerException
ArithmeticException
Sign up free to see the answer and a step-by-step explanation.
NumberFormatException
DivideByZeroError