Re: What are an Immutable Objects in Java?
In object-oriented and functional programming, an immutable object is an object whose state cannot be modified after it is created. Since you have done C++, I would like to add that its similar using the const member data attribute in the C++ programming language. In some cases, an object is considered immutable even if some internally used attributes change but the object's state appears to be unchanging from an external point of view. An object is considered immutable if its state cannot change after it is constructed.
I do to dead flowers what people at morgues do to dead people. Suck all the moisture out, dip them in plastic, paint them up pretty and put them in a nice frame.
Bookmarks