Pergunta de entrevista da empresa CMC Markets

Why the first comparison is false and the second is true? Integer a = 1000, b = 1000; System.out.println(a == b); // false Integer c = 100, d = 100; System.out.println(c == d); // true