All of you would be knowing the fact that String is immutable in java, which means once constructed can not be altered. This allows the jvm to have a literal pool, literal pool will be helpful to reduce the memory usage and to increase the performance. Each time when a String is created JVM check […]
Continue reading…