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
How to add menushortcut to menu item?
Is object a data type in java?
What are the drawbacks of reflection?
What are the different data types in java?
What is the major advantage of external iteration over internal iteration?
What are void methods?
Why does java have two ways to create child threads? Which way is better?
What is variable in java?
What is valid keyword in java?
If we allocate the memory using 'new' & de-allocated using 'free' then what will happen?
Can a variable be local and static at the same time?
Can we nested try statements in java?
What is singletonlist in java?
Is singleton set an interval?
Can variables be used in java without initialization?