这可能是有史以来最愚蠢的问题,但我认为这对新手来说完全是一个混乱.
String
StringBuilder
一个很好的例子(在Java中)将非常感激.
java string immutability
immutability ×1
java ×1
string ×1