12 2015 档案
摘要:看了这篇文章http://www.shaoqun.com/a/69463.aspx收获颇丰,copy归纳整理一下,留底备查。情况1:显然程序按顺序执行 try{ …… } catch(){ …… }finally{ …… } ret...
阅读全文
摘要:String是面试经常被问及的小知识点,它扩展开来还是有很多好玩的东西,下边就从编译层面上仔细分析一下代码1:public class Test { public static void main(String[] args) { String str1 = "a"; ...
阅读全文
摘要:转自http://www.blogjava.net/DLevin/archive/2011/09/13/358497.htmlJava二进制指令代码解析Java源码在运行之前都要编译成为字节码格式(如.class文件),然后由ClassLoader将字节码载入运行。在字节码文件中,指令代码只是其中的...
阅读全文
摘要:不多说,先看源码 1 /** 2 * Creates a new {@code ThreadPoolExecutor} with the given initial 3 * parameters. 4 * 5 * @param corePoolSize th...
阅读全文

浙公网安备 33010602011771号