Difference between String, StringBuffer and StringBuilder

Pubblicato il: 26 ottobre 2017
sul canale di: Share2People
181
6

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


In questa pagina del sito puoi guardare il video online Difference between String, StringBuffer and StringBuilder della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Share2People 26 ottobre 2017, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 181 volte e gli è piaciuto 6 spettatori. Buona visione!