Fidelity Investments interview question

Is a string immutable?

Interview Answers

Anonymous

Mar 22, 2016

YES, string is immutable

1

Anonymous

May 10, 2017

yes string is immutable. Stringbuffer and stringBuilder can be used as a mutable counterpart of string.