Well, OP must know the difference between == and equals(). So,
== actually tells you if the two object references are refering to the same instance, i.e.
String x="Hello"
String y=x;
x==y;...
Type: Posts; User: Mr.777
Well, OP must know the difference between == and equals(). So,
== actually tells you if the two object references are refering to the same instance, i.e.
String x="Hello"
String y=x;
x==y;...