https://www.nowcoder.com/feed/main/detail/4e8477f3049d460db8dc69e82e6c2cd5?sourceSSR=search

https://cloud.baidu.com/article/3310477

-128 ~ 127 true

Integer a = 100;
Integer b = 100;
Integer c = new Integer(100);
System.out.println(a == b); // 输出 true,因为a和b都指向Integer缓存池中的同一个对象
System.out.println(a == c); // 输出 false,因为a和c指向不同的对象实例