String s2 = s1.concat(“two”)
A. one
B. two
C. onetwo
D. twoone
Answer:A
String s2 = s1.concat(“two”)
A. one B. two C. onetwo D. twoone
Explanation: Two strings can be concatenated by using concat() method.