+ 1

JAVA. Can String once made be larger or smaller?

Is it correct that once made, String can't be larger or smaller?

29th May 2018, 1:18 AM
DIY Mods
DIY Mods - avatar
1 Réponse
+ 2
That is correct once created a string cannot be changed: strings are immutable. https://www.sololearn.com/Discuss/1005264/is-string-mutable-or-immutable-in-java-and-why-it-is
29th May 2018, 1:33 AM
ODLNT
ODLNT - avatar