Domanda di colloquio di American Express

What's the difference between StringBuilder vs. StringBuffer?

Risposta di colloquio

Anonimo

27 ott 2018

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