title: Why is the code misbehaving with tabs?
body: <pre><code>char[] array = {'h','e','l','l','o','h','i','e',' '};
  System.out.println(array+"\t"+array.length);//FIX THIS
  </code></pre>
  
  <p>It prints : </p>
  
  <pre><code>[C@15db9742     9
  </code></pre>
  
  <p>But if I change the code to :</p>
  
  <pre><code>char[] array = {'h','e','l','l','o','h','i','e',' '};
  System.out.println(array);//FIX THIS
  </code></pre>
  
  <p>It prints : </p>
  
  <pre><code>hellohie
  </code></pre>
  
  <p>Why can't I put a tab and a number in concatenation? Because the following code worked fine:</p>
  
  <pre><code>String array1 =  new String(array);
  System.out.println(array1+'\t'+array1.length());
  </code></pre>