Immutable (computer programming)

object whose state cannot be modified after it is created From Wikipedia, the free encyclopedia

Remove ads

In programming, an immutable object (also immutability) means that its contents or value will not change or does not allow changes from users after being created. But, this does not mean an unwanted change can not happen to an object being stored in memory by finding unusual ways to bypass built-in rules or security.

The opposite is a mutable object that allows changes.

Loading related searches...

Wikiwand - on

Seamless Wikipedia browsing. On steroids.

Remove ads