title: When is new required in scala
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/9727637/new-keyword-in-scala">&ldquo;new&rdquo; keyword in Scala</a>  </p>
  </blockquote>
  
  
  
  <p>Ive noticed that creating certain instances in Scala you can leave off using <code>new</code>. When is it required that a developer use <code>new</code>? And why do some objects allow you to miss off using it?</p>
  
  <p>Thanks</p>
  
  <blockquote>
    <p>List("this","is","a","list") creates a List of those four strings; no
    new required</p>
    
    <p>Map("foo" -> 45, "bar" ->76) creates a Map of String to Int, no new
    required and no clumsy helper class.</p>
  </blockquote>
  
  <p>Taken from <a href="http://www.naildrivin5.com/scalatour/wiki_pages/ScalaBasics" rel="nofollow noreferrer">here</a>..</p>