Benefitalign interview question

Why String is immutable?

Interview Answer

Anonymous

28 Apr 2018

String is immutable because the value of String cannot be change but the reference of variable into the String pool can be change.