2008-05-14
java 中的增量操作
public class Increment {
/**
* @param args
*/
public static void main(String[] args) {
// TODO 自动生成方法存根
int j=0;
int temp=0;
for(int i=0;i<100;i++)
{
temp=j++;
System.out.println("this is the temp j "+j);
}
System.out.println(j);
}
}
public class Increment {
/**
* @param args
*/
public static void main(String[] args) {
// TODO 自动生成方法存根
int j=0;
int temp=0;
for(int i=0;i<100;i++)
{
j=j++;
System.out.println("this is the temp j "+j);
}
System.out.println(j);
}
}
的区别!
发表评论
- 浏览: 17423 次
- 性别:

- 来自: 上海

- 详细资料
搜索本博客
我的相册
未命名2
共 17 张
共 17 张
链接
最新评论
-
一直想写关于回调函数有关 ...
http://hi.baidu.com/518bc/blog/item/db11 ...
-- by ming206 -
一直想写关于回调函数有关 ...
详细位置请看: http://hi.baidu.com/518bc/blog/i ...
-- by ming206 -
表的自连接同子查询有区别 ...
谢谢 armorking martri的指教
-- by beyondsanli -
表的自连接同子查询有区别 ...
方式二要求下面这个子查询的检索结果最多只有一条记录 SELECT bookcou ...
-- by armorking -
表的自连接同子查询有区别 ...
那要看数据库操作系统的的实现,在各个数据库其中实现方式略有不同,最好是看一下其执 ...
-- by martri






评论排行榜