title: Java String object creation
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/390703/what-is-the-purpose-of-the-expression-new-string-in-java">What is the purpose of the expression &ldquo;new String(&hellip;)&rdquo; in Java?</a>  </p>
  </blockquote>
  
  
  
  <p>Hi,</p>
  
  <p>1) What is difference in thers two statements:</p>
  
  <pre><code>String s1 = "abc";
  </code></pre>
  
  <p>and </p>
  
  <pre><code>String s1 = new String("abc")
  </code></pre>
  
  <p>2) as i am not using new in first statement, how string object will be created</p>
  
  <p>Thanks</p>