stringbuilder vs stringjoiner code example
Example: string vs stringbuilder
String is immutable and thread safe
String builder mutable and not thread safe
String is immutable and thread safe
String builder mutable and not thread safe