0

Is a string immutable?if yes then how to make it mutable?

30th Nov 2019, 12:29 PM
Chinmay Chirag6
2 odpowiedzi
+ 5
I was about to tell you to read about mutable and immutable strings in your other post but since you have asked for it now I would like you to take a good look at this example. https://code.sololearn.com/cSxvqwkmm0zm/?ref=app
30th Nov 2019, 12:32 PM
Avinesh
Avinesh - avatar
+ 1
Yes. Simply if you want mutable version of strings use StringBuffer, StringBuilder classes... Please follow what ~swim~ said...
30th Nov 2019, 1:07 PM
Jayakrishna 🇮🇳