7
Answers

string and array are immutable?

Hello everyone,


I read from some documents that string/array are immutable, means when we change the content of a string (e.g. append text) or change the content of an array (e.g. append new element), then a new instance be created and the old instance will be discarded?


thanks in advance,
George

Answers (7)