会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
相遇总有原因 不是恩赐就是教训
博客园
首页
新随笔
联系
管理
订阅
2019年10月30日
Java——变量自增(++)自减(--)
摘要: //运算符在操作数之后,称为“后增量”。i变量自增,返回自增之前的值;//运算符在操作数之前,称为“前增量”。i变量自增,返回自增之后的值。//自减同理 public static void test1(int i) { int j = i++; System.out.println("j = i+
阅读全文
posted @ 2019-10-30 17:41 !O0O!
阅读(919)
评论(0)
推荐(0)
编辑
公告