itwanger / toBeBetterJavaer

一份通俗易懂、风趣幽默的Java学习指南,内容涵盖Java基础、Java并发编程、Java虚拟机、Java企业级开发、Java面试等核心知识点。学Java,就认准二哥的Java进阶之路😄
https://javabetter.cn
13.45k stars 1.9k forks source link

I find the error in #2.2 数据类型 #90

Closed PsYaoyo closed 7 months ago

PsYaoyo commented 12 months ago

Integer integerValue = 42; // 自动装箱,等同于 new Integer(42) maybe should //Integer.valueOf(42); because the Cache

itwanger commented 7 months ago

no,这里是自动装箱。