Difference between String and StringBuffer.
Answer Posted / minu
hi
i am agree with Madhu ,
String is an immutable object. StringBuffer is a mutable
object.
immutable object:If you are not allowed to change the value
of an object, it is immutable object.
mutable object: If a object value is changeable then we can
call it as Mutable object.
| Is This Answer Correct ? | 14 Yes | 0 No |
Post New Answer View All Answers
What is the memory leak in java?
What are the advantages of java inner classes?
What is the size of a string in java?
How do I enable java in safari?
Why multiple inheritance is not supported by java?
What is the null?
What is a nested class?
What do you mean by Function Overloading in java?
What is the purpose of the strictfp keyword?
What about instanceof operator in java?
Can we increase array size dynamically in java?
What is token in java?
Can we sort set in java?
What is another word for methodology?
What are the two ways to create a thread?