aspose file tools*
The moose likes Beginning Java 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 Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "String Pool.....?" Watch "String Pool.....?" New topic
Author

String Pool.....?

santhosh.R gowda
Ranch Hand

Joined: Apr 06, 2009
Posts: 296
Hi Friends

Can you please tell me that how string pool works in java...?


Creativity is nothing but Breaking Rules
Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3775

Hi santhosh,

Just read Strings,Literally here at ranch. If you have any doubts just post it here at the forum.


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
santhosh.R gowda
Ranch Hand

Joined: Apr 06, 2009
Posts: 296
Thanks a lot Vijitha Kumara for giving link to string literals


Kindky tell me how memory allocation happens in collections how it grows,default size (ArrayList, LinkedList,Map, vector)
Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3775

santhosh.R gowda wrote:Kindky tell me how memory allocation happens in collections how it grows,default size (ArrayList, LinkedList,Map, vector)


You should read Sun's Collection Tutorial about collections. But this is far away from what the topic of this post says.
Gavin Tranter
Ranch Hand

Joined: Jan 01, 2007
Posts: 333
Surely memory allocation is defined by the JVM implementation, and thus can not be relied upon to be consistant from JVM to JVM?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: String Pool.....?
 
Similar Threads
Reg. GC from JavaCaps
String Pool
difference between poll memory and non-poll memory?
what is Stringpool and heap
Is Kathy&Bert book wrong? Or my understanding wrong?