employer cover photo
employer logo
employer logo

Tata Consultancy Services

Part of Tata Group

Engaged Employer

Tata Consultancy Services Interview Question

Is String immutable?

Interview Answers

Anonymous

Jul 25, 2018

Yes is immutable, can't be modified. for the string pool

2

Anonymous

Apr 10, 2019

Yes String is immutable because everytime when you change the value it creates different object so you can't change value in current object and if you apply final upon it then it will become 100% immutable where you can't change the ref also

Anonymous

Jul 25, 2018

Yes is immutable, can't be modi