posted 13 years ago
If you don't believe the API docs that Fred references, the only way to prove that String is immutable is to check the source code. But you could get a pretty good indication by trying the various methods that look like they could change it and seeing what happens. E.g.