An interview question in java
<pre><code>String a = new String ("TEST");
String b = new String ("TEST");

if(a == b) { 
  System.out.println ("TRUE"); 
} else {
 System.out.println ("FALSE"); 
}
</code></pre>

<p>I tried it and it printed <code>FALSE</code>, I want to know the reason exactly. </p>

<p>Thanks in advance.</p>
