123456789101112131415public class Hello { public static void main(String[] args) { Integer a = 100; Integer b = 100; Integer c = 1000; Integer d = 1000; System.out.println(a == b); System.out.println(c == d); }} output: 12truefalse