Hi everyone,
I have a question regarding String Constant Pool. As we know Strings are immutable objects and JVM put all the string literals in String Constant Pool. If I am continuously using String Constant Pool and if there is no space in String Constant Pool but there is space in Heap. Will it give memory allocation error or will use Heap memory to store string literals. Please clarify my doubt. Thanks in advance.
--
With Regards,
Shiv Shankar

--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en

Reply via email to