摘要: for循环很简单,用起来也很方便,但对for循环的执行顺序并不了解。举个例子:public class TestOrder { static boolean order(char c) { System.out.print(c); return true; } public static void main(String[] args) { int i = 0; for (order('A'); order('B') && (i < 2); order('C')) { i++; ... 阅读全文
posted @ 2012-09-11 16:19 のんきネコ 阅读(2741) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示