Question 2
Back to Exercise
Which of these is a checked exception?
- A NullPointerException
- B IOException Correct
- C ArithmeticException
- D IllegalArgumentException
Correct Answer: Option B
The others are RuntimeExceptions.
Discussion & Comments 0
Share your method, a shortcut, or ask about a step you didn't follow.
No comments yet. Be the first to share your solution!