title: Why it is "String" instead of "java.lang.String" - Scala?
body: <p>I am kind of confused by the difference between <code>String</code> in Scala and the <code>java.lang.String</code>.</p>
  
  <p>When I do the following, it shows the <code>String</code>.</p>
  
  <pre><code>scala&gt; val msg = "Hello, World!"
  msg: String = Hello, World!
  </code></pre>
  
  <p>However, as how it is done in the link: <a href="http://www.artima.com/pins1ed/first-steps-in-scala.html#footnote2-2" rel="nofollow">First Steps in Scala</a></p>
  
  <p>It is shown as <code>java.lang.String</code>:</p>
  
  <pre><code>scala&gt; val msg = "Hello, world!"
  msg: java.lang.String = Hello, world!
  </code></pre>
  
  <p>Why is it like this? </p>