What is the specific class of exception thrown by the code below? String[] nums = new String[5]; for (String num nums) {
Posted: Sat Jul 09, 2022 11:48 am
What is the specific class of exception thrown by the code below? String[] nums = new String[5]; for (String num nums) { System.out.println(num.toUpperCase()); } ArrayIndexOutOfBoundsException NullPointerException Arithmetic Exception None of the above