Hello Ranchers,
Need your help on strings.
1.
String s ="abc"
2.String b ="abc"
3. String c = new String("abc")
Whta is difference between all three .
If i do(s==b) it gives true. How come that, it shuld give false bcoz two objects of string has been created. They are pointing to different addresses in memory with same value.
Can someone explain me.