What will s2 contain after following lines of code?
String s1 = "one;
String s2 = s1.concat("two)
View Answer
Workspace
Share
Copy Text
Copy URL
Answer : Option C
Explanation :
Two strings can be concatenated by using concat() method.
Be The First To Comment