What will be output?<br><pre><code class="java">String S1 = "S1 ="+ "123"+"456";String S2 = "S2 ="+(123+456);</code></pre>
Correct Answer: S1=123456, S2=579
If a number is quoted in "" then it becomes a string, not a number any more.
If a number is quoted in "" then it becomes a string, not a number any more.