What is Java String Pool?
URL: https://www.progressiverobot.com/what-is-java-string-pool/ As the name suggests, String Pool in java is a pool of Strings stored in [Java Heap Memory](/community/tutorials/java-heap-space-vs-stack-memory "Java Heap Memory vs Stack Memory Difference"). We know that String is a special class in java and we can create String objects using a new operator as well as providing values in double-quotes. String […]