Why string objects are immutable objects ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why string objects are immutable objects ?

2nd Oct 2017, 7:51 PM
Sam Khan
Sam Khan - avatar
5 Answers
+ 10
This might help you to understand the logic ;) https://www.sololearn.com/discuss/354212/?ref=app
2nd Oct 2017, 7:56 PM
Tashi N
Tashi N - avatar
27th Jan 2018, 7:38 PM
ASIF BILAKHIYA
ASIF BILAKHIYA - avatar
+ 8
It's created to save memory...
2nd Oct 2017, 7:57 PM
Tashi N
Tashi N - avatar
+ 6
theres no such thing as a mutable String.
2nd Oct 2017, 7:53 PM
D_Stark
D_Stark - avatar
+ 1
answer me?
2nd Oct 2017, 7:56 PM
Sam Khan
Sam Khan - avatar