在int 的对象后面加上 + "" 就可以直接把int 转换为String
例如:
int i = 123;
String str = i + "";
int转换String
猜你喜欢
转载自164572429.iteye.com/blog/1661940
今日推荐
周排行