STRING HANDLING IN JAVA
807607Feb 2 2007 — edited Feb 2 2007String a="java";
String b="java";
a==b gives an output "true"
Why does this happen,when we know that == operator compares two object references whether they refer to the same object and in this case a and b are two different object references.