blacktiger blacktiger - 1 year ago 55
Java Question

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?

Answer Source

StringBuffer is synchronized, StringBuilder is not.