Predict the output of the following:
String str= “Rajesh”;
System.out.println(str.replace(‘j’, ‘k’));
Answers
Answered by
1
Answer:
output: Rakesh
Explanation:
it will replace j with k
Answered by
1
Answer:
output : Rakesh
Ram replies" ?"
Similar questions