Posted On: Dec 18, 2020
In JAVA, The string pool is a memory that resides in the heap area of the JVM(Java virtual machine). Heap is a kind of tree data structure. It is specifically used to store objects in Java. In other words, a string pool is a pool of string stored in JAVA heap memory. A String is a special class in java and we can create String objects using a new operator.
Never Miss an Articles from us.