+ 2

What is the difference between mutable and immutable data types?

with examples plz...

25th Aug 2017, 5:33 AM
Aditya Kumar
Aditya Kumar - avatar
2 odpowiedzi
+ 9
The content of objects of immutable types cannot be changed after they are created, while mutable types can. Read more about immutable objects: https://en.m.wikipedia.org/wiki/Immutable_object
25th Aug 2017, 5:38 AM
Hatsy Rei
Hatsy Rei - avatar
+ 1
thanks
25th Aug 2017, 5:53 PM
Aditya Kumar
Aditya Kumar - avatar