Difference between StringBuilder and StringBuffer

blacktiger picture blacktiger · Dec 10, 2008 · Viewed 814.5k times · Source

What is the main difference between StringBuffer and StringBuilder? Is there any performance issues when deciding on any one of these?

Answer

sblundy picture sblundy · Dec 10, 2008

StringBuffer is synchronized, StringBuilder is not.