+ 4
Why string in java is final
Java
5 Respuestas
+ 15
So that it cannot be changed?
+ 3
To make it a constant.
+ 2
since it is immutable object
it is stored in string constant pool
+ 2
String is an object somewhere in the memory. String name - is a link to the object.