Domanda di colloquio di European Dynamics

What is the difference between StringBuilder and StringBuffer?

Risposta di colloquio

Anonimo

23 dic 2024

StringBuffer is thread-safe and faster (not synchronized) while StringBuilder is not.