String
1. Immutable
2. If content is fixed and won’t change frequently.
StringBuffer
1. Mutable
2. If content is not fixed and keep on changing but thread safety is required.
StringBuilder
1. Mutable
2. If content is not fixed and keep on changing and thread safety is not required means you can allow multiple thread running on that content then we can use StringBuilder
Check more at http://www.liesbeek.com
Sur cette page du site, vous pouvez voir la vidéo en ligne Difference between String, StringBuffer and StringBuilder durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Share2People 26 octobre 2017, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 181 fois et il a aimé 6 téléspectateurs. Bon visionnage!