This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General and the fly likes string pool Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "string pool" Watch "string pool" New topic
Author

string pool

hemamalini s.
Greenhorn

Joined: Oct 17, 2005
Posts: 13
I want ot ask String objects are always allocated memory .So how string pool are allocated memory at compile time itself?
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
Moving to Java In General (Intermediate).


Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: string pool
 
Similar Threads
Pool of Interns Memory(String literals)
difference between poll memory and non-poll memory?
can explain about heap and pool variables?
The well known String str = "abc" and String str1 = new String("abc");
Objects on Heap