Question d’entretien chez American Express

What's the difference between StringBuilder vs. StringBuffer?

Réponse à la question d'entretien

Utilisateur anonyme

27 oct. 2018

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