摘要: while、do while、for是用来控制循环的,循环格式如下:while(Boolean-expression) statement eg: int i = 1; while(i++<=5); System.out.print(i); i的运行结果为7 i++:表示先运算后自增 (理解:当i= 阅读全文
posted @ 2016-05-06 14:09 边走边看 阅读(138) 评论(0) 推荐(0)