Q. Analyze the following code and choose the correct answer.
int[] arr = new int[5];
arr = new int[6];
β
Correct Answer: (C)
The code can compile and run fine. The second line assigns a new array to arr.