String Constant Pool in java
String Constant Pool in java is a pool of stored Strings in Java Heap Memory. This Constant Pool contains unique constant values to reduce redundancy. This constant pool is a part of .class file (and its in-memory representation) that contains constants needed to run the code of that class. String Constant Pool is based on FlyWeight design pattern.