在java语言中int 和 Integer 有什么区别

在java语言中int 和 Integer 有什么区别

解答:int是基本数据类型,Integer是int的包装类,属于引用类型

猜你喜欢

转载自www.cnblogs.com/borter/p/9552628.html