public class test {
public static void main(String[] args) throws IOException {
HashMap<Integer, String> map= new HashMap<>();
map.put(1,"one");
String aa = map.get(1);
byte b =1;
String bb = map.get(b);
}
}
如上代码,为何 bb 变量是 null 呢,感觉不是 byte 自动转型为 int,再自动装箱为 Integer 吗

