+ 6

String immutable

what is immutable and why string is immutable explain it with example

11th Jan 2018, 12:19 PM
Thirumurugan C
Thirumurugan C - avatar
4 ответов
27th Jan 2018, 7:26 PM
ASIF BILAKHIYA
ASIF BILAKHIYA - avatar
+ 6
thank you for your previous replies
11th Jan 2018, 4:01 PM
Thirumurugan C
Thirumurugan C - avatar
+ 4
https://stackoverflow.com/questions/22397861/why-is-string-immutable-in-java ^ The top rated response here gives a pretty good explanation.
11th Jan 2018, 12:24 PM
Jacob Garcia
Jacob Garcia - avatar
+ 4
In simple words , immutable means the value of string can not be altered .
11th Jan 2018, 1:09 PM
Hrishikesh Kulkarni
Hrishikesh Kulkarni - avatar