/cracks knuckles/ All right, I've done some Sloppy-to-English translation in my time...Is this what you meant?
"Is there any difference between initializing a String when you declare it, and initializing it in a Constructor?"
Well, Strings should only be initialized in a constructor if they're instance members...if your String is a method variable or a class member it's not good constructor material.
String s = "my string";
is logical same as
String s = new String("my string");
But first variant is more efficient . When we create new String using constructor there are created two stings. First is created by compiler, when it founds constant string - "my string". And second is our String object s.
Message was edited by:
jogurtIR