String constant pool
- 18th Dec 2017
- 0
- 11851
- How string constant pool works in java importnace of string constant pool String constant pool in java why java created string constant pool
It is also called as String literal pool or String pool. As the name suggests, String constant pool is a pool of strings stored in a separate place within the Heap area. We all know that we can create strings using “new” or by directly defining value in double quotes. Whenever we create a string […]