Another task about catching exceptions arrived today at the secret CodeGym center. This time, we have to catch an exception and immediately display it on the screen. Don't forget to indicate its type. The exception in question will occur when the following code is executed: int num = Integer.parseInt("XYZ"); System.out.println(num).
Exception when working with numbers
You must be signed in to leave a comment
This page doesn't have any comments yet