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 and this is why JVM sets aside a special area on the Heap memory called String Constant Pool.

Note : Before we know more String constant pool, we need to remember that a String object can be created without or without using 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

PYTHON


Advertisement