What is the advantage of using String over StringBuilder in multi-threaded applications?

Last Updated :
Discuss
Comments

What is the advantage of using String over StringBuilder in multi-threaded applications?

String is faster than StringBuilder


String is synchronized

String is immutable and therefore thread-safe

String can be modified in place


Share your thoughts in the comments