Why Strings are immutable in Java (Core Java Interview Question #307)

preview_player
Показать описание
Why Strings are immutable in Java (Core Java Interview Question #307)

Рекомендации по теме
Комментарии
Автор

Thanks for this very beautiful explanation.

prikalpanda
Автор

The String is immutable in Java because of the security, synchronization and concurrency, caching, and class loading. The reason of making string final is to destroy the immutability and to not allow others to extend it.

jyotipatharegtjmm
Автор

very worthable xplanation about immutable string

immanik-vjzh
join shbcf.ru