This task puzzled me for a while. You need to...
In the handleExceptions method, handle all unchecked exceptions.
You can only use one try-catch block.
If you're stuck, know that NullPointerException, IndexOutOfBoundsException and NumberFormatException are all subclasses of RuntimeException.
If you're stuck, look at RuntimeException
Under discussion
Comments (1)
- Popular
- New
- Old
You must be signed in to leave a comment
Guadalupe Gagnon
2 August 2021, 16:39
good hint. You should also go to the task page and leave this same hint. People will most likely check the comments there first.
+2