Programming · Level 2 of 5
Immutable Value
A value that cannot be changed after creation through its interface.
A new value may be created to represent an updated state.
Example
Updating a record produces a replacement rather than modifying the original.
Listen to the definition and example
Audio transcript
Immutable Value. A value that cannot be changed after creation through its interface. A new value may be created to represent an updated state. For example: Updating a record produces a replacement rather than modifying the original.
Explore this concept
Why it matters
This helps you read implementation code and describe its behavior precisely.
Start with
Quick recall question
Try answering before looking back at the definition.