All books

Professional

Apps About Coach Log in Start reading

Computer Science · Glossary

What is Mutable, immutable?

Also known as: mutable · immutable

Definition 2.3 High School Computer Science · Chapter 2 — Tuples, Sets and Comprehensions

A value is mutable when it can be changed after it is built, and immutable when it cannot. Lists, dictionaries and sets are mutable. Numbers, strings and tuples are immutable: an operation on them builds a new value.

Read in context →