Mutable and Immutable Data

Learn what are mutable and immutable data.

Mutable and immutable data

Mutable means liable to change, while immutable means unable to be changed. The term mutable data means that we have data that we can change. We know that we store data in variables and that we can change it as we please, as shown in the following code block:

Get hands-on with 1200+ tech skills courses.