What is the main difference between StringBuffer
and StringBuilder
?
Is there any performance issues when deciding on any one of these?
Java – Difference Between StringBuilder and StringBuffer
javastringbufferstringbuilder
javastringbufferstringbuilder
What is the main difference between StringBuffer
and StringBuilder
?
Is there any performance issues when deciding on any one of these?
Best Answer
StringBuffer
is synchronized,StringBuilder
is not.