标签:print 循环 int 打印 while循环 system -- out sys
int i = 5; while(i-- > 0){ System.out.println("i="+i); }
打印结果:
i=4i=3i=2i=1i=0
while循环与i--
原文地址:http://www.cnblogs.com/tcdxx/p/6091528.html