Difference between StringBuffer and StringBuilder

preview_player
Показать описание
DURGASOFT is INDIA's No.1 Software Training Center offers
online training on various technologies like JAVA, .NET ,
ANDROID,HADOOP,TESTING TOOLS , ADF, INFORMATICA, SAP...
courses from Hyderabad & Bangalore -India with Real Time Experts.
so that our Supporting Team will arrange Demo Sessions.
Ph:Call +91-8885252627,+91-7207212428,+91-7207212427,+91-8096969696.
Рекомендации по теме
Комментарии
Автор

When I listen to your class. I think that God has sent you to earth to teach java. If you teach all technologies in the same way. Getting a software job is like a cakewalk. java=durga, durga=java

sandeepsandy
Автор

*Long story short:*
- StringBuilder came later in Java and is faster because multiple threads can use it (faster, but no thread-safety)
- StringBuffer was there before and provides thread safety. Means, only one thread at a moment can use it. Hence its slower. (Slower, Thread-Safety)

cloud
Автор

This is the best explanation I ever seen between String Buffer and String Builder👍🏼

ashutoshpatil
Автор

I miss Indian teachers . I liked the way how you treated Java Objects as real life humans when you were explaining about garbage collection. 😁👍🏼 Your lecture is very resourceful and I completely understand and connect with your lecture. The good thing about your teaching is that you are teaching the concept in such a way that we don't forget it forever. Thank you so much :)

TejaDuggirala
Автор

Lol, I have an interview tomorrow. Gonna have to refer all the videos. Tbh, I'm getting amazing stuffs to get to know, not aware of before. Thank you very much.

jayeshp
Автор

Great Work Sir!!! can u make videos on graph algorithms...like dijkstras, prims, kruskals...etc...

manikandankbk
Автор

thnx sir
all of yOur videOs is heLpfull to understand java

rehbarhasan
Автор

Slang is not matter. Only content is important

suman
Автор

Dear Sir...i recently made changes to our product, i replaced all the StringBuffer 
variables with StringBuilder variables, but i did not see any performance gain in the process. Any reason you can suggest ?

LuckySingh-mhph
Автор

comic teaching style. content is super.

raghavendra
Автор

please upload all your videos whaterver you teach. All are best. Hope you will

NeverQuitOk
Автор

Can understand every single word he says and I am from Pakistan :)

npggreat
Автор

"Every method is synchronized" : What does it mean??

simarpreetsinghofficial
Автор

could you please write more clear When you write on board. Thanks in advance.

tutorials