1.

What is the output of this program? class output { public static void main(String args[]) { String s1 = "one"; String s2 = s1 + " two"; System.out.println(s2); } }

A. one
B. two
C. one two
D. compilation error
Answer» D. compilation error


Discussion

No Comment Found