public static void main(String[] args) throws FileNotFoundException, IOException {
    Integer a = 120;
    Integer b = 120;
    Integer c = 130;
    Integer d = 130;
    System.out.println(a==b); //true
    System.out.println(c==d); //false
}
This behavior confused me. Can anyone explain it?
 
    