

interface Inter { void show(); } class Outer { //补足代码(用匿名内部类完成) } public class OuterTest { public static void main(String[] args) { Outer.method().show(); } }
interface Inter { void show(); } class Outer { //补足代码(用匿名内部类完成) } public class OuterTest { public static void main(String[] args) { Outer.method().show(); } }
转载于:https://www.cnblogs.com/JiangXiaoTian/articles/2545669.html