This week's book giveaways are in the iOS and Features new in Java 8 forums. We're giving away four copies each of Barcodes with iOS: Bringing together the digital and physical worlds and Core Java for the Impatient and have the authors on-line! See this thread and this one for details.
The fact that this is a multidimensional array has nothing to do with it. Think of what you are doing you are declaring arr (and arr) to be a refence to a new array of ints. You then assign this reference to the array of 2 ints. When you create a new array of 3 ints you assign the same reference to this array. These are two seperate arrays. You are not changing the size of either and you are right you cannot! All you are doing is taking the reference from one array and assigning it to another! Hope this helps, Barry