immutable class


immutable class

In object technology, a class in which none of the elements in the instances of the class can be changed. On the other hand, in a "mutable" class, elements can be changed, and a mutable class can be a subclass of an immutable class. See class.