会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
x77
博客园
首页
新随笔
联系
订阅
管理
2020年10月31日
Java中int Integer String三种类型的互相转换
摘要: 1.int -->String: int a=1; String s= a+""; 2.String -->int: String s="123"; //注意只能是数字字符串 int a=Integer.parseInt(s); int -->Integer: Integer i=100; //自动
阅读全文
posted @ 2020-10-31 14:17 x77
阅读(28)
评论(0)
推荐(0)
公告