Immutable object

id: immutable-object-184-1897290
title: Immutable object
text: In object-oriented (OO) and functional programming, an immutable object is an object whose state cannot be modified after it is created. This is in contrast to a mutable object, which can be modified after it is created. In some cases, an object is considered immutable even if some internally used attributes change, but the object's state appears unchanging from an external point of view. For example, an object that uses memoization to cache the results of expensive computations could still be c
brand slug: wiki
category slug: encyclopedia
description: Object whose state cannot be modified after it is created
original url: https://en.wikipedia.org/wiki/Immutable_object
date created: 2003-03-17T21:41:39Z
date modified: 2024-09-07T02:44:09Z
main entity: {"identifier":"Q23828","url":"https://www.wikidata.org/entity/Q23828"}
image:
fields total: 13
integrity: 15

Related Entries

Explore Next Part