Difference between the String and StringBuffer classes?
Answer Posted / anitha
yes, String is a immutable that means once the string
object is created it cannot be changed.
String Buffer: it is a mutable,this object is changed if we
make any modifications.
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
Is it possible to instantiate the abstract class?
What does isempty () do in java?
Tell us something about an iterator.
How java uses the string and stringbuffer classes?
What do you mean by checked exceptions?
How does java pattern compile work?
What do you mean by collectors in java 8?
If I only change the return type, does the method become overloaded?
What is intern method in java?
What is anagram in java?
What is formatted output in java?
What is the difference between the direct buffer and non-direct buffer in java?
What is the difference between heap and stack memory?
How to stop a thread in java? Explain about sleep () method in a thread?
Which java collection does not allow null?