Java中的内部类 Java字符串和拆分 Java将数组转换为String Java中的内部类 abstract class AnonymousInner { public abstract void myMethod(); } public class Outer_class { public static void main(String args[]) { AnonymousInner inner = new AnonymousInner() { public void myMethod() { System.out.println("This is an example of anonymous inner class"); } }; inner.myMethod(); } } Java字符串和拆分 Java将数组转换为String