Bookmark Topic Watch Topic
  • New Topic

Difference between immutable and final class  RSS feed

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Report post to moderator
Some body told me that immutable class (Like String) that mean this class is define with final keyword but i am looking that StringBuffer Class is also a final class and as per my knowledge it is a mutable class. can any body clear me difference between final and immutable class.

Thanks
 
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Report post to moderator
Do not duplicate threads. Continue there.
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!