This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
Ok so I did what the thread suggested..sorry I should have searched first by the way.
So it said to use the toString method...i tried that, and it gave me a printout of the same characters which it says in the thread that they are hashcodes,
but it printed multiples equal to the size of the 2D array which is 9.
So it talks about overriding the hashcode...i need a little more direction here.
The problem with Arrays.toString(Object)* is that it calls toString() on its elements -- and toString() still returns something useless for arrays. The good news is that that method mentions a good replacement: deepToString(Object). Check out the following:
* an int is an Object, so an int is an Object.