1.

What will s2 contain after following lines of code?

String str1 = "one";
String str2 = str1.concat("two")

A. onetwo
B. twoone
C. one
D. two
E. None of these
Answer» B. twoone


Discussion

No Comment Found

Related MCQs