(Your example is slightly wrong: s[2] = 'x' should change it to "abx".)
No you can't, since strings are immutable, you have to create a new string:
http://en.wikipedia.org/wiki/Immutable_object
You should use a method that returns a new string with the desired modification.
Hope that helps!