请问老师,这里的proxy是代理对象还是被代理对象?
我自己调试程序,发现应该是代理对象才对吧?
是代理对象,可以在invoke方法中打印一下。
System.out.println(porxy.getClass().getName());
会输出com.imooc.....$Proxy0