反射引用默认包
//class Test8 默认包public class Test8 {public void testa(){//do something}}//class Test9package com.englishtochina;import java.lang.reflect.*; public class Test9 {public static void main(String[] args) throws Exception{ Class c = Class.forName("Test8"); Method m = c.getDeclaredMethod("testa", null); m.invoke(c.newInstance(), null); }}