permaculture playing cards
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
JavaRanch » Java Forums » Java » Java in General
Bookmark "string pool" Watch "string pool" New topic

string pool

hemamalini s.

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.
I agree. Here's the link:
subject: string pool
It's not a secret anymore!