title: Java: println with char array gives gibberish
body: <p>Here's the problem. This code:</p>
  
  <pre><code>String a = "0000";
   System.out.println(a);
  char[] b = a.toCharArray();
   System.out.println(b);
  </code></pre>
  
  <p>returns</p>
  
  <pre>
  0000
  0000
  </pre>
  
  <p><br />But this code:</p>
  
  <pre><code>String a = "0000";
   System.out.println("String a: " + a);
  char[] b = a.toCharArray();
   System.out.println("char[] b: " + b);
  </code></pre>
  
  <p>returns</p>
  
  <pre>
  String a: 0000
  char[] b: [C@56e5b723
  </pre>
  
  <p><br />What in the world is going on? Seems there should be a simple enough solution, but I can't seem to figure it out.</p>