Question
What will s2 contain after following lines of code?
String s1 = "one;
String s2 = s1.concat("two)
Answer: Option C
Was this answer helpful ?
Two strings can be concatenated by using concat() method.
Was this answer helpful ?
Submit Solution