Enterprise JavaBeans

Moderators: None (Apply to moderate this forum)
Number of threads: 55
Number of posts: 90

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
help Posted by try123 on 18 May 2008 at 5:47 AM
What is the difference between immutable and mutable object in Java?
Report
Re: help Posted by try123 on 18 May 2008 at 5:50 AM
: What is the difference between immutable and mutable object in Java?
Hi All,

I found a good writeup about this
http://question2answer.googlepages.com/core-java.html

any other ideas.
Report
Re: help Posted by zibadian on 18 May 2008 at 6:51 AM
: : What is the difference between immutable and mutable object in Java?
: Hi All,
:
: I found a good writeup about this
: http://question2answer.googlepages.com/core-java.html
:
: any other ideas.
The fields of an immutable cannot be changed after the object has been constructed. When a field needs to be changed after the construction of an immutable object, a new instance is created with the changes applied during its construction.



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.