Drop Down MenusCSS Drop Down MenuPure CSS Dropdown Menu

Sunday, 8 January 2017

What is String Pool Constant In Java ?

String Pool Constant :

String constant pool is a separate memory space/area in a Heap Memory, where all the String literals(String str = "JAVA") are stored. 

Whenever we create string literal in java ,JVM first check in string pool constant weather that string with same value is available or not, if that string is available then jvm returns the reference of available string, if that string is not available in pool then JVM store that string literals in pool. 



   
Blog Author - Pushkar Khosla,
Software Developer by Profession with 3.0 Yrs of Experience , through this blog i'am sharing my industrial Java Knowledge to entire world. For any question or query any one can comment below or mail me at pushkar.itsitm52@gmail.com.

This blog is all about to learn Core Java ,Interview Programs and Coding tricks to polish your Java Knowledge. If you like the content of this blog please share this with your friends.



Share this Blog with yours Friends !!

No comments:

Post a Comment