Difference between String, StringBuffer and StringBuilder

Publicado em: 26 Outubro 2017
no canal de: 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


Nesta página do site você pode assistir ao vídeo on-line Difference between String, StringBuffer and StringBuilder duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Share2People 26 Outubro 2017, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 181 vezes e gostou 6 espectadores. Boa visualização!