开发者

Difference Max Value for primitive and primitve wrapper

开发者 https://www.devze.com 2023-03-10 17:54 出处:网络
I have java primitive int and its wrapper Integer ,do it mean开发者_StackOverflow社区 that the int has the same Maximum value as Integer\'s maximum value ?Yes, they are the same for int and Integer. A

I have java primitive int and its wrapper Integer ,do it mean开发者_StackOverflow社区 that the int has the same Maximum value as Integer's maximum value ?


Yes, they are the same for int and Integer.


All primitive wrappers, just wrap the primitives so they have the same range and the same possible values.

0

精彩评论

暂无评论...
验证码 换一张
取 消