Computer Science, asked by waghmaresaloni1, 2 days ago

Predict the output of the following:
String str= “Rajesh”;
System.out.println(str.replace(‘j’, ‘k’));

Answers

Answered by simonsaikia9
1

Answer:

output: Rakesh

Explanation:

it will replace j with k

Answered by rahulop6253
1

Answer:

output : Rakesh

Ram replies" ?"

Similar questions