1.

What will be the output of the program?

String x = new String("xyz");
String y = "abc";
x = x + y;
How many String objects have been created?

A. 2
B. 3
C. 4
D. 5
Answer» D. 5


Discussion

No Comment Found

Related MCQs