Question 26


What will happen if you compile/run the following lines of code? 1: int[] iArray = new int[10]; 2: 3: iArray.length = 15; 4: 5: System.out.println(iArray.length); A) Prints 10. B) Prints 15. C) Compilation error, you can't change the length of an array. D) Runtime exception at line 3.