Immutable objects : Java

Why it is advisable to design classes which make objects immutable ?
When it is possible ?

Replies

You are reading an archived discussion.

Related Posts

HI everyone So many of us undergraduate engineers always ask this question, so i'm just going to put it out there and tell me what u think.... "does marks matter...
i just read somewhere that a research is going on in mit to develop wireless electricity....however nothing was given on the principle on which they are working...i m little doubtful...
WHAT KIND OF ENGINEER IS GOD? (A NEW SPIN OF AN OLD JOKE) By Ryan Somma One very fine day, a group of professorial-types of differing backgrounds happened at random...
CEan Bioramani celebrates his 72[sup]nd[/sup] birthday today . He wrote to CE saying "At 72, what's left seems more important than what's over". Wishing bioramani a very happy birthday! 😀
CEans, Do you believe that "pen is mightier than the sword"? why or why not???