2016年2月24日

JavaSE程序分析002 try-catch-finally与return的小事情

摘要: 程序段如下:class Test{ public static String output = ""; public static void foo(int i) { try { if (i == 1) ... 阅读全文

posted @ 2016-02-24 19:20 码农康康 阅读(85) 评论(0) 推荐(0) 编辑

JavaSE程序分析001 继承的小事情

摘要: 程序段如下:class Super{ int i = 0; public Super(String a) { System.out.println("A"); i = 1; } public Super() { ... 阅读全文

posted @ 2016-02-24 19:15 码农康康 阅读(111) 评论(0) 推荐(0) 编辑

导航