Jump to content

Immutable (computer programming)

From Simple English Wikipedia, the free encyclopedia
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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.