title: If a char array is an Object in Java, why does printing it not display its hash code?
body: <p>Printing a char array does not display a hash code:</p>
  
  <pre><code>class IntChararrayTest{
      public static void main(String[] args){
          int intArray[] = {0,1,2};
          char charArray[] = {'a','b','c'};
          System.out.println(intArray);
          System.out.println(charArray);
      }
  }
  </code></pre>
  
  <p>output :  </p>
  
  <pre><code>[I@19e0bfd
  abc
  </code></pre>
  
  <p>Why is the integer array printed as a hashcode and not the char array?</p>