Difference between String, StringBuffer, and String Builder - Cracking the Java Coding Interview

preview_player
Показать описание
Cracking the #Java #Coding #Interview - Question 19: Difference between String, StringBuffer, and String Builder
Рекомендации по теме
Комментарии
Автор

These are the yt shorts freaks like me loves. I would like captions but thank you anyways for this instructive resource!

qujwddwqujqujwddwquj
Автор

The joining thing is good to know. I used StringBuilder a little to often.
I wish they would move some methods from string to CharSequence to make it more useful and hopefully more used. In many cases the implementation of String used is irrelevant for a method but CharSequence lacks methods you might want to use.

redcrafterlppa
Автор

Back in school I was taught to use StringBuilder if using alot of concat, learned something new

kevingarnett
Автор

What about concatenation inside a loop with String? Isn't that terribly inefficient if it has to loop many times?

SZMarcos
Автор

I use kotlin more than java, is there no string interpolation in Java? 🤔

jayjaayjaaay