Immutable Object

« Back to Glossary Index

An immutable object is an object whose state cannot be modified after creation. Immutability simplifies reasoning about code and improves thread safety. Immutable objects are common in functional programming. Example: Strings treated as immutable values.


← Back

« Back to Glossary Index