This week's book giveaways are in the Refactoring and Agile forums. We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line! See this thread and this one for details.
Arrays don't override the toString() method. So if you want to print the contents of an array, you have to iterate over the array and add each element to a StringBuilder (or just print them as you go). Or you can use java.util.Arrays.toString() for 1D arrays and Arrays.deepToString() for multi-dimensional arrays (which are really just arrays of arrays in Java).