Computer Science, asked by smansoor7179, 1 year ago

What will be the output of the program? string x = "xyz"; x.touppercase(); /* line 2 */ string y = x.replace('y', 'y'); y = y + "abc"; system.out.println(y);

a. abcxyz

b. abcxyz

c. xyzabc

d. xyzabc?

Answers

Answered by sandhya60
1
The output is xyzabc
Similar questions