Printing a char array does not display a hash code:
class IntChararrayTest{ public static void main(String[] args){ int intArray[] = {0,1,2};
System.out is PrintStream which has a special method for char[] arg
public void println(char x[]) { synchronized (this) { print(x); newLine(); } }
int[] is printed via this method
public void println(Object x) { String s = String.valueOf(x); synchronized (this) { print(s); newLine(); } }