This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Mutability  RSS feed

 
Agarwal Priyanka
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Rob Spoor
Sheriff
Posts: 20895
81
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!