package API;

import com.sun.scenario.effect.impl.sw.sse.SSEBlend_SRC_OUTPeer;

public class inTeger {
    public static void main(String[] args) {
        int a = 123;
        Integer b = 123;
        System.out.println(a==b);
        Integer a1 = 1234;
        Integer a2 = new Integer(1234);
        System.out.println(a1 == a2);
        Integer aa1 = 127;
        Integer aa2 = new Integer(127);
        Integer aa3 = 127;
        System.out.println(aa1 == aa3);//-128-127  ture   >127  fasle
    }

}

 

Posted on 2022-05-22 11:55  LutixiaGit  阅读(22)  评论(0编辑  收藏  举报