I was just seeing an Example on String POOL in java Here and got stuck with doubt.
Java has a string pool, because of which objects of string class are unchanging.
However, my inquiry stands -
What was the need to make String POOL?
Why string class was not kept like other class to hold its own qualities?
Is inside JVM need a few strings or is this a presentation benefit? If yes how?