语法

xiaoxiao2021-02-28  48

首先纠正一下,是Integer,不是integer,大小写是有分别的。 Integer是一个整数对象,就像String,而int是基本数据类型 (整数),所以Integer.parseint()就是把整形对象Integer转换成 基本数据类型int(整数)。
转载请注明原文地址: https://www.6miu.com/read-57486.html

最新回复(0)