Contents    Page-10    Prev    Next    Page+10    Index   

References and ==


Integer i = 3;           what is the value of
Integer j = i;                (i == j) ?

Integer i = 127;
Integer j = 127;

Integer i = 130;
Integer j = 130;

Integer i = new Integer(100);
Integer j = new Integer(100);

Integer i = new Integer(100);
Integer j = 100;

Integer i = Integer.valueOf(100);
Integer j = 100;

Integer i = new Integer(99);
i++;
Integer j = 100;

Integer i = 127; i++;
Integer j = 127; j++;