filmov
tv
String Vs StringBuilder Vs StringBuffer (JAVA)
![preview_player](https://i.ytimg.com/vi/O4TZw-FhY9Y/hqdefault.jpg)
Показать описание
In this video, we will learn the basic differences in String vs StringBuilder vs StringBuffer with examples.
I forgot to mention this in video.
*Basic Difference between StringBuilder and StringBuffer
StringBuffer and StringBuilder are similar, but StringBuilder is faster and preferred over StringBuffer for single threaded program. If thread safety is needed, then StringBuffer is used.
I forgot to mention this in video.
*Basic Difference between StringBuilder and StringBuffer
StringBuffer and StringBuilder are similar, but StringBuilder is faster and preferred over StringBuffer for single threaded program. If thread safety is needed, then StringBuffer is used.