posted 18 years ago
What you get when printing an object reference depends on whether that object's toString method is overridden.
In the case of an int array, toString returns the type as "[I", followed by "@" and then a hexadecimal representation of the hashCode, which in this case is a memory address (i.e., the same as Object).
You can see this by running the following code...
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org