Computer Science, asked by rachanar08, 6 months ago

1. What will be the output of the following java code segment
2 points
String sl="Big";
String S2="Book";
System.out.println(sl.concat(S2.replace('o', 'e')));​

Answers

Answered by mtahir27
0

Answer:

BigBeek

Explanation:

I think because concat will become BigBook but replacing 'o' with 'e' will become BigBeek.

Similar questions