Class.forName("binary name");加载并对类变量进行初始化
等价cl.loadClass("binary name").newInstance();
ClassLoader.loadClass("binary name");ClassLoader cl = this.getClass().getClassLoader();
Class c = cl.loadClass("binary name");
Object obj = c.newInstance();
在newInstance时初始化
初始化时会比forName多产生一个obj对象
From :
http://waryist.iteye.com/blog/131983