What is the Java string pool and how is "s" different from new String("s")?
43716
Difference between string object and string literal
114349
What is a null-terminated string?
139616
Why isn't the String value changed after String.Replace in Java?
126
How do I compare strings in Java?
39387
In Java, for a string x, what is the runtime cost of s.length()? Is it O(1) or O(n)?
116533
Why is there an offset in the Java String implementation?
120568
How many characters can a Java String have?
62301
String array initialization in Java
65892
Why String.replaceAll() don't work on this String?
122217
String is immutable. What exactly is the meaning?
55919
Why is ReplaceAll behaving like this?
149886
Java Integer pool. Why?
37883
Java String variable setting - reference or value?
123315
Why can't strings be mutable in Java and .NET?
142179
String literals: Where do they go?
107844
How does the .ToString() method work?
112791
Where does Java's String constant pool live, the heap or the stack?