What will be the output of the program?

String x = ne

Loading

โœช Choose the correct option.

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