What Will S2 Contain After Following Lines Of Java Codep Pre #376
What will s2 contain after following lines of Java code?</p> <pre><code class="language-java"> String s1 = "one"; String s2 = s1.concat("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 - Searching & Modifying a String in java - Quiz No.1.