Sollicitatievraag bij Gong

Stringbuilder and Stringbuffer are 2 classes that have the same functions. The difference between them is that the functions in Stringbuffer are all synchronized. Why are there two almost identical classes like that?