java自动装箱和自动拆箱
package com.taobao.study;
public class ChaiDemo {
public static void main(String[] args) {
Integer a = 100; // 自动装箱
int b = a +1; // 自动拆箱
System.out.println(b);
}
}
本文来自博客园,作者:竹石2020,转载请注明原文链接:https://www.cnblogs.com/ch2020/p/16856069.html