Java / Strings
All the String objects created using String literals are stored in String pool?
String literals and compile-time constant strings intern into the pool. new String("a") creates a heap copy; intern() can then point at the pooled instance.
Yes.
More Related questions...