Advertisement



< Prev
Next >



String Constant Pool






What is a String Constant Pool?


One of the main goals of Java programming language is to minimize the redundancy and memory waste/overuse caused by storing String objects with duplicate values on the heap memory and this is why JVM sets aside a special area on the heap called String Constant Pool.

Note : Before we know more about String constant pool, we need to remember that a String object can be created with or without using the new keyword.




Important points to remember


Please Subscribe

Please subscribe to our social media channels for daily updates.


Decodejava Facebook Page  DecodeJava Twitter Page Decodejava Google+ Page




Advertisement



Notifications



Please check our latest addition

C#, PYTHON and DJANGO


Advertisement