X452: Exception Handling - Basics

"Determine which exception is needed for each case and put them in the corresponding catch statement with the appropriate variable. Do NOT use the general exception handler Exception for any one. Possible Exceptions: IOException, ArithmeticException, StringIndexOutOfBoundsException, NullPointerException, ArrayIndexOutOfBoundsException"

Your Answer:

Reset

Practice a different Java exercise

Feedback

Your feedback will appear here when you check your answer.