title: Print int Array with Stream using Arrays.asList method
body: <p>I'm learning Stream and I tried to print an int Array using asList Method found in the class Arrays , unfortunatly i'm getting a wrong result.</p>
  <p>could someone explain to me why i'm getting this wrong result.</p>
  <pre><code>public class array {
  
  public static void main(String[] args) {
      /*my way*/
      int [] array = new int[]{1,2,3,7,1};
      Arrays.asList(array).stream().forEach(System.out::println);
      System.out.println();
  
      /*the good way*/
      Arrays.stream(array).forEach(System.out::print);
  
      }
      
  }
  </code></pre>
  <p>result :</p>
  <blockquote>
  <p>[I@3e3abc88</p>
  <p>12371</p>
  </blockquote>