Hi,
Can anybody tell what is the difference between the following two sets of statements regarding references and values?
set 1:
String s1 = "abc";
String s2 = "abc";
set 2:
String s3 = "abc";
String s4 = new String("abc");
According to my understanding, references are different and values are same
in both the sets. what do you say?