Frage im Vorstellungsgespräch bei American Express

What's the difference between StringBuilder vs. StringBuffer?

Antwort im Vorstellungsgespräch

Anonym

27. Okt. 2018

StringBuffer is mutable and synchronized (Thread Safe), Very Slow StringBuilder is also mutable but its not synchronized (Not Thread Safe), Very Fast