October 5, 2010 at 5:54 PM
1)String class is used to manipulate character strings that cannot be changed while StringBuffer class is used to represent characters that can be modified.
2)StringBuffer is faster than String.
3)String Objects are constants and immutable while StringBuffer objects are not.
4)StringBuffer is threadsafe while String is not.
September 23, 2012 at 2:13 PM
StringBuilder is great for creating main String from temporary Strings. Also concatenation operator ( +) is replaced by either buffer or builder as discussed in.