Skip to content

What is String Pool in Java?

What is the String Pool in Java? Learn how the JVM stores and reuses string literals, why it saves memory and how it affects comparing Java strings.

Java Strings core-java
Gopi Gorantala