Difference between String, StringBuffer and StringBuilder in Java | Java Interview question

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

Hi

Synchronized means ..only one thread can access the resource at a given point of time.
non Synchronized means...multiple threads can access the resource at a given point of time.
synchronized is a thread safe
non synchronized is not a thread safe

ysrTojmr
Автор

Concept is great . I think last 2 point regarding thread safe are interchanged.
String builder can be called by multiple threads and String buffer by one thread.

gauridhote
Автор

I think In String builder, 2 threads can call simultaneously and Hence it is not thread Safe . Please correct me if i am wrong

ManiKandan-voqr
Автор

Great concept explanation! Clear and straight to the point. Excellent video

luissolisescareno
Автор

string builder now could be a new tool for me in many questions... would look up more about this later

UtkarshSinghP
Автор

Mem your explanation very understandable.please upload more vedios.humble request

surjendudas
Автор

You reversed the concept of String buffer and String builder but great 🙌

chandratripuravaram
Автор

Awesome Explanation
It's very clear

reshmapn
Автор

String buffer is thread safe so we can't pass 2 threads

String bulider is not thread safe so we can pass 2 threads at a time

harishkummara
Автор

How simply and amazingly you explain the concepts !! Nice Work Keep it up

home_made_foodz
Автор

try to upload the videos of advance java, algorithms, important topics

SahilKumar-pygb