Whats the difference?
Whats the difference between the following two Statements
String s= "JAVA";
String s= new String("JAVA");
What is the difference between the two statements from the point of view of Compiler Interpretation?
How can a Class(String Class) can create objects without new oprator or constructor. Explaination from the point of view of compiler would be helpful?
[388 byte] By [
Jitu-javaa] at [2007-11-27 11:46:04]

> Hi,
>
> simply you refer string and string buffer (or)
> otherwise called as mutable and immutable,
Rubbish.
drvijayy2k2,
Many of your answers like this one are rubbish because they are either (a) provide factually incorrect information or (b) provide answers to questions that weren't asked as is the case here. Please make more of an effort to check your answers for accuracy and relevency before posting them. Posting rubbish answers does more harm than good.
though it can be funny to see the lazy buggers trash around making things work that we know will never do when we give them :)
But you do indeed need to do such things deliberately, and not accidentally.
> Thx Prabha for that very useful discussion. The
> discussion in th post was extremely nice.
>
> Thank u so much.
>
> Have a nice day.......
Notice, however, that the "answer" given was merely a link to the correct information, as provided by another poster from this very thread whom you chose to be mildly insulting toward