title: Printing array in Scala
body: <p>I am having problem with most basic Scala operation and it is making me crazy.</p>
  
  <pre><code>val a = Array(1,2,3)
  
  println(a)   and result is [I@1e76345
  
  println(a.toString()) and result is [I@1e76345
  
  println(a.toString) and result is [I@1e76345
  </code></pre>
  
  <p>Can anyone tell me how to print array without writing my own function for doing that because that is silly. Thanks!</p>