Q. Given the code String s = new String("abc"); Which of the following call is not valid?
β
Correct Answer: (B)
s.replace('a', 'A').
You must be Logged in to update hint/solution