Question from the Java test

Which of these classes is the most suitable for composing a character string from several elements concatenated to each other?