| 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: 3011
|
|
|
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.
|
 |
 |
|
|
subject: difference between poll memory and non-poll memory?
|
|
|