What differences between String and char[]? - Cracking the Java Coding Interview

preview_player
Показать описание
Cracking the #Java #Coding #Interview - Question 4: What are the differences between String and char[]?
Рекомендации по теме
Комментарии
Автор

strings are stored in string pool, while char[] isn't?

fipabrate
Автор

Can we please change the implementation of the toString and equals in arrays to the ones of the static factory please, thanks.

redcrafterlppa