aspose file tools*
The moose likes Java in General and the fly likes difference between poll memory and non-poll memory? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "difference between poll memory and non-poll memory?" Watch "difference between poll memory and non-poll memory?" New topic
Author

difference between poll memory and non-poll memory?

manas ranjan mandal
Ranch Hand

Joined: Apr 02, 2008
Posts: 97
what is the difference between poll memory and nonpoll memory?and what is the difference between String s="abc"; and String s=new String("abc");
Joanne Neal
Rancher

Joined: Aug 05, 2005
Posts: 3454
    
  12
Do you mean 'pool' memory, as in the String pool ?


Joanne
Praveen Kumar
Ranch Hand

Joined: Nov 06, 2006
Posts: 133
In java , When ever you creates string litelars , they will be created in String pool ( pool memory).

s="abc"; creates one object in pool memory
and String s=new String("abc"); creates two objects. I hope one in pool and other one in non pool .

Pls correct me if am wrong.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: difference between poll memory and non-poll memory?