This property and persistence are possessed by the data structures in Clojure ("closure").
This property and persistence are possessed by the data structures in Clojure ("closure"). The opposite of this property in Haskell can be implemented with the State monad, ST monad, and IÂ·OÂ·Ref. Using an object with this property means that no defensive copies are needed. A class that has only accessor methods has this property and, thus, requires that a constructor be called to create a new object. Examples of classes with this property include Java's primitive wrapper classes and String class, as well as Python's tuples (TUH-pulls). Objects with this property are useful because they are intrinsically thread-safe and, in C and C++ ("c plus plus"), can be declared using the keyword "const." For 10 points, what property is possessed by objects that cannot have their states changed a er they are created, in contrast to mutable objects?
This property and persistence are possessed by the data structures in Clojure ("closure").
immutable [accept immutable objects or immutable data or immutable classes; accept word forms such as immutability; prompt on "unchangeable" or "unmodi able" or "constant"]