System.out.println(Arrays.toString(arr));
The current output is classtype@hashcode
.
Incase you need to print arrays with more than one dimension use:
Arrays.deepToString(arr);
Also remember to override toString() method for user-defined classes so that you get a representation of the objet as you choose and not the default represention which is classtype@hashcode