摘要:
1 一个简单的类 public class Dog { public void sayHi(String name) { System.out.println("汪汪------"+name); }} 2 实现MethodIn... 阅读全文
摘要:
1 申明一个接口 public interface JdkProxyDemo{ void sayHi(String name);} 2 实现这个接口 public class JdkProxyDemoImpl implements JdkProx... 阅读全文
摘要:
public class ReflectService { public void sayHi(String name){ System.out.println("hello"+ name); } public static v... 阅读全文