File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 REST with Spring (video course) this week in the Spring 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!