Java String : How many Objects are created
<p>I am asking a duplicate Question, but i went through all the questions like this on Stack Overflow, but i am not able to Understand.</p>

<p>My Code is:</p>

<pre><code>String s1 = "a";
String s2 = "b";
String s3 = s1 + s2;
</code></pre>

<p>1 . How many Objects are created?
2 . How can we say that objects are already present in String Table ?</p>

<p>-- <strong>Really Sorry for duplicity, but i must know the correct answer</strong>.</p>
