Globant interview question

Why is string class immutable?