Hi
When we create a
string literal like
String str=�SCJP�;
Then what happen actually is a String Object is created on Constant String Pool or Object is created on heap as any other object and Constant String Pool contain only reference of that object crrated.
Thanks
Pavan