A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
Java in General
difference between poll memory and non-poll memory?
manas ranjan mandal
Joined: Apr 02, 2008
May 13, 2008 05:01:00
what is the difference between poll memory and nonpoll memory?and what is the difference between
s="abc"; and String s=new String("abc");
Joined: Aug 05, 2005
May 13, 2008 06:46:00
Do you mean 'pool' memory, as in the String pool ?
Joined: Nov 06, 2006
May 13, 2008 07:37:00
, 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:
subject: difference between poll memory and non-poll memory?
Want the difference between String and StringBuffer
Difference between String
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013