What is the difference between mutable and immutable data types? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 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 Respostas
+ 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