Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Mutability

 
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
Pie
Posts: 20667
65
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