摘要: //实现接口public interface MyInterface { void pri();}public class TestClass1 { public MyInterface test(){ return new MyInterface(){ public void pri() { System.out.println(1); } }; } public static void main(String[] args) { MyInterface... 阅读全文
posted @ 2013-10-09 15:51 new PersonBean() 阅读(1968) 评论(0) 推荐(0) 编辑