Question: what is the difference between concatenation of strings using ‘+’ and stringbuffer?
Answer: Simply stated, objects of type String are read only and immutable. The StringBuffer class is used to represent characters that can be modified. The significant performance difference between these two classes is that StringBuffer is faster than String when performing simple concatenations.