会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
醉卧何处
博客园
首页
新随笔
联系
订阅
管理
2018年3月13日
数字与字符串
摘要: 1.装箱 int i = 5; Integer it = new Integer(i); 2.拆箱 int i2 = it.intValue(); 3.数字转字符串 方法一:String str = String.valueOf(i); 方法二:Integer it =i; String str2
阅读全文
posted @ 2018-03-13 06:11 Zhao_Xu_Jie
阅读(130)
评论(0)
推荐(0)
公告