Inner class is one of major characteristics of Java, this paper discusses the creation mechanism and method of the a-nonymous inner class in Java, analyzes the attributes and rules of the anonymous inner class member variables and member methods , gives the actual application example to the anonymous inner class.%内部类是Java中的一大特色,通过对Java中匿名内部类的创建机制和使用方法的探讨,分析匿名内部类中成员变量与成员方法的属性与规则,并给出匿名内部类的实际应用示例.
展开▼