Posted On: Feb 22, 2018
It is a pool of reserved String objects for limiting the number of String examples and improving execution by having a similar occurrence with various customers and diminishing rubbish accumulation. Before Java 7, the Sring pool was situated on meta-space where class metadata was put away however, from JDK 7 onwards it's moved into stack space.
Never Miss an Articles from us.
With respect to Java, a String can be attributed internally by a variety of byte esteems..