JAVA. Can String once made be larger or smaller? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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 Answer
+ 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