Actually i want difference between
String str="vas";
String str1= new String("vas");
I came to known first Statement creates only one reference that is pointed out by str;
but for the second statement I find that String Literal vas is referenced by something and that something is referenced by str1;
So for that i place that query.
Any where thanks for ur reply