Integer和int的区别,包装类,基本数据类型,区别

int 是基本数据类型。 Integer是其包装类,注意是一个类。 https://zhidao.baidu.com/question/322364721.html ---- 包装类,和数据类型,使用上,有什么区别?下面举个例子: int test0; TestBean test2;//TestBean是我自定义的类 test2.getName();//报错The local variable a
相关文章
相关标签/搜索