1.

What will be the output of the following program?public class Test{public static void main(String args[]){String str1 = "one";String str2 = "two";System.out.println(str1.concat(str2));}}

A. ne
B. wo
C. netwo
D. woone
E. one of these
Answer» D. woone


Discussion

No Comment Found