1. Variability
String immutable
StringBuffer and StringBuilder variable
2. Thread Safety
String immutable and therefore thread-safe
StringBuilder is not thread safe
StringBuffer is thread-safe, internally synchronized to synchronize
1. Variability
String immutable
StringBuffer and StringBuilder variable
2. Thread Safety
String immutable and therefore thread-safe
StringBuilder is not thread safe
StringBuffer is thread-safe, internally synchronized to synchronize