Creating a String object by "new"
<p>Consider statement:</p>

<blockquote>
  <p>String s=new String("abc");</p>
</blockquote>

<p>Will this statement creates two String objects namely "abc" and the one represented by 's'?</p>

<p>and if it creates two objects then will "abc" get stored in String pool or just discarded?</p>

<p><strong>EDIT:</strong></p>

<p>i am asking this question in reference to <a href="http://stackoverflow.com/questions/3297867/difference-between-string-object-and-string-literal">difference between string object and string literal</a>, where in the  last two answers , creation of two objects is denied.</p>
