版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/android_zhengyongbo/article/details/80804510
一直以为Interger为空的时候 转为int 会自动赋值为0 后来知道自己sb了 特此记录一下
Integer integer;(integer不能为null)
int a=integet.intValue();
一直以为Interger为空的时候 转为int 会自动赋值为0 后来知道自己sb了 特此记录一下
Integer integer;(integer不能为null)
int a=integet.intValue();