Domanda di colloquio di Tech Mahindra

Q: What is difference between StringBuilder and StringBuffer?

Risposta di colloquio

Anonimo

6 giu 2024

Two class have same operations , but StringBuffer is thread safe and used for Thread safety .While StringBuilder doesn't provides Thread safety