wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes Mutability Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Mutability" Watch "Mutability" New topic
Author

Mutability

Agarwal Priyanka
Greenhorn

Joined: Jul 25, 2008
Posts: 20
hello all....

I am searching for a proper solution,can anyone help me? :roll:

What is mutability?
Which one is mutable: String or StringBuffer?Why?give example


keep trying...thats the way to success...<br />with best regards...<br />p.agarwal
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19655
    
  18

Mutability means whether or not you can change an object once created. After having said that, using the API, I'm sure you will be able to answer your second question.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Mutability
 
Similar Threads
doubt with StringBuffer
Final class and immutability
Immutable and unmodifiable difference
Equals and Hashcode validation
Name the mutable and immutable Classes