Question d’entretien chez Tech Mahindra

Q: What is difference between StringBuilder and StringBuffer?

Réponse à la question d'entretien

Utilisateur anonyme

6 juin 2024

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