StringBuffer class represents a String that can be dynamically modified.

It contain sequences of 16-bit Unicode characters.Uses a buffer that is much larger than any one string; actual size of the buffer is the capacity.Provides methods that can change individual characters within a string