Q. What will s2 contain after following lines of Java code?
Code:
String s1 = "one";
String s2 = s1.concat("two")
β
Correct Answer: (C)
onetwo
String s1 = "one";
String s2 = s1.concat("two")
You must be Logged in to update hint/solution