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 super () does in java?
Why are pointers not secure?
Can we assign null to double in java?
What is an error in java?
Explain enumeration in java?
Explain the use of volatile field modifier?
Explain treeset?
What’s meant by anonymous class?
What are the wrapped, classes?
Difference between abstract and concrete class ?
What is == in java?
What are recursive functions? Give some examples?
Explain super keyword in java.
What is final variable?
Is list ordered in java?