Difference between String & StringBuffer
Answer Posted / navneet raushan
The great difference between String and string buffeer is
that String buffer is thread safe where as String is not
thread safe as well as string is immutable and String
buffewr is mutable.
| Is This Answer Correct ? | 77 Yes | 12 No |
Post New Answer View All Answers
Is string pool garbage collected?
What are actual parameters?
What is default switch case? Give example.
What 5 doubled?
Is java 9 released?
Explain notifyall() method of object class ?
How do you escape a string?
Why can we not override static method?
What is string builder?
Why is stringbuffer called mutable?
Explain thread life cycle in java?
What is JVM and is it platform independent?
what do you understand by the term string with respect to java?
What makes a function well defined?
What is java and its types?