What is the main difference between StringBuffer
and StringBuilder
?
Is there any performance issues when deciding on any one of these?
转载于:https://stackoverflow.com/questions/355089/difference-between-stringbuilder-and-stringbuffer
What is the main difference between StringBuffer
and StringBuilder
?
Is there any performance issues when deciding on any one of these?
转载于:https://stackoverflow.com/questions/355089/difference-between-stringbuilder-and-stringbuffer
StringBuffer
is synchronized, StringBuilder
is not.