Originally posted by arivu mathi:
Sting s = new string("abc");
a new string object is created by the above statement.
String s = "abc";
does this statement also create a new string object or it is refering to a object in the string pool?
I think you have created two
thread with same question but in different language..... Didn't you check out this one...
String Object.
One more thing to notice to all moderators..
Well the question is different then the reply of
Rohit Suman as
Originally posted by Rohit Suman:
[Q]definately you can use static and native modifier are used to load any native files they may be required to run the program
[/Q]
Earlier when I check this thread the Name of this thread was
"static", but now it has been changed to
"String".
Could you please justify.