Integer. valueOf()可以将基本类型int转换为包装类型Integer,或者将String转换成Integer,String如果为Null或“”都会报错,并且intger.valueof()方法是高效的。
posted on 2020-10-14 15:59 郴州嘉禾 阅读(4002) 评论(0) 收藏 举报