My name is Aravindhan.A and I am with Software AG. Having a passion towards programming...striving to become a vivid programmer... :)
Friday, May 30, 2008
How to make an Class immutable...?
Class should be declared final with all members declared as private and no setter methods.... Immutable class in the sense...the content in the Object of the class can't be changed..
No comments:
Post a Comment