What Will S2 Contain After Following Lines Of Java Codep Pre #396
What will s2 contain after following lines of Java code?</p> <pre><code class="language-java"> StringBuffer s1 = "one"; StringBuffer s2 = s1.append("two")</code></pre>
This multiple choice question (MCQ) is related to the book/course gs gs128 Java. It can also be found in gs gs128 Java String Handling - StringBuffer Methods in java - Quiz No.1.