Difference between String, StringBuffer and StringBuilder

Publicado el: 26 octubre 2017
en el 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


En esta página del sitio puede ver el video en línea Difference between String, StringBuffer and StringBuilder de Duración hora minuto segunda en buena calidad , que subió el usuario Share2People 26 octubre 2017, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 181 veces y le gustó 6 a los espectadores. Disfruta viendo!