Fidelity Investments interview question

Is a string immutable?

Interview Answers

Anonymous

22 Mar 2016

YES, string is immutable

1

Anonymous

10 May 2017

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