冯东的博客

每天学一点,不断进取
  博客园  :: 首页  :: 新随笔  :: 订阅 订阅  :: 管理

2007年9月5日

摘要: 今天看了看java编程思想第三版,在第三章中讲到逻辑运算符时提到了一个我以前没听过的名次“短路”,那到底什么是短路呢?先看看下面的代码 public class ShortCut{ public static boolean test(int a) { System.out.println("come in and a=" + a); return a > ... 阅读全文

posted @ 2007-09-05 17:44 冯东 阅读(1010) 评论(1) 推荐(0)