public class TestMe{
public static void main(String[] args) {
Integer i = 128;
Integer j = 128;
Integer k = 12;
Integer l = 12;
System.out.println(i == j);
System.out.println(k == l);
}
}
I'm getting the output: false true
Why is the 1st one false and 2nd one true?