public class Test { |
public static void main(String[] args) { |
CommonBack commonBack = new CommonBack(); |
commonBack.compPageHandler( new ICallBack() { |
public void say(Person p) { |
System.out.println(p.getName()); |
} |
}); |
} |
} |
by: 发表于:2018-05-24 10:41:21 顶(0) | 踩(0) 回复
??
回复评论