Please tell me how to properly use the java.util.InputMismatchException exception? Here so swears on line InputMismatchException
try { numbers[i] = sc.nextInt(); } catch(java.util.InputMismatchException){} Please tell me how to properly use the java.util.InputMismatchException exception? Here so swears on line InputMismatchException
try { numbers[i] = sc.nextInt(); } catch(java.util.InputMismatchException){} Source: https://ru.stackoverflow.com/questions/242446/
All Articles