int i = 5; while(i-- > 0){ System.out.println("i="+i); }
打印结果:
i=4i=3i=2i=1i=0
posted on 2016-11-22 22:50 大兴兴 阅读(213) 评论(0) 收藏 举报