StringBuilder is not synchronized and is faster in single‑threaded code. StringBuffer is synchronized (thread‑safe), but usually slower. Both are mutable alternatives to `String`.