This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Java in General and the fly likes Immutable object. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Immutable object." Watch "Immutable object." New topic

Immutable object.

Rajkamal Pillai
Ranch Hand

Joined: Mar 02, 2005
Posts: 445


How does one make an object immutable? I was asked this question during an interview.

Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575
I agree. Here's the link:
subject: Immutable object.
It's not a secret anymore!