Difference Max Value for primitive and primitve wrapper
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.
精彩评论