Code Pumpkin

Tag Archives: String pool

String Pool | Java

September 2, 2017
Posted by Dipen Adroja

String pool in Java is a pool of String literals and interned Strings in JVM for efficient use of String object. Since String is Immutable Class In Java, it makes sense to cache and shares them in JVM. Java creators introduced this String pool construct as an optimization on the way String objects are allocated […]

Total Posts : 124
follow us in feedly

Like Us On Facebook