摘要:
//实现接口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... 阅读全文