会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Yhh_449
博客园
首页
新随笔
联系
订阅
管理
2020年4月8日
print、println、printf的使用区别
摘要: print、println、printf的区别 print 输出不换行, 只能有一个参数,光标定位在该行最后一个字符 int a=10;System.out.print("哈哈");System.out.print(a); println 跟print类似但是输出结果换行,只能有一个参数,光标定位在
阅读全文
posted @ 2020-04-08 20:44 Yhh_449
阅读(289)
评论(0)
推荐(0)
公告