< 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 our social media channels for notifications, we post a new article everyday.

Decodejava Google+ Page Decodejava Facebook Page  DecodeJava Twitter Page

Coming Next
-
C++ and Python

Ad2