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
0
Answer:
BigBeek
Explanation:
I think because concat will become BigBook but replacing 'o' with 'e' will become BigBeek.
Similar questions
English,
3 months ago
English,
3 months ago
Computer Science,
3 months ago
India Languages,
6 months ago
English,
6 months ago
Chemistry,
11 months ago
Math,
11 months ago