title: How to print the entire array list without appending the index in Java?
body: <p>I'm a rookie in Java. I just started it a day before. I don't know whether its a stupid question. Whatever , when i run the below codes , I got </p>
  
  <p>[I@15db9742 as output. </p>
  
  <pre><code>public class array1 {
      public static void main(String[] args)
      {   
          int[] arr={1,2,3};
          System.out.println(arr);
      }
  }
  </code></pre>
  
  <p>what does it mean ? 
   When i create a char array as </p>
  
  <pre><code>char[] c={'a','b','c'};
  </code></pre>
  
  <p>i got the output as  <code>abc</code> </p>
  
  <pre><code>System.out.println(c);
  </code></pre>
  
  <p>Why i didn't get the o/p as <code>123</code> in the above case...
    Eager to hear the answer...................</p>