Why the First if case prints Equal and Second Not Equal?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/3130311/weird-java-boxing">Weird Java Boxing</a>  </p>
</blockquote>



<pre><code>public class example {
    public static void main(String[] args) {

        Integer a=127,b=127;
        if(a==b)
            System.out.println("Equal");
        else
            System.out.println("Not Equal");
        Integer c=128,d=128;
        if(c==d)
            System.out.println("Equal");
        else
            System.out.println("Not Equal");
    }

}
</code></pre>

<p>Output:</p>

<pre><code>Equal
Not Equal
</code></pre>
