java内部类
摘要:
package frank;import java.lang.*;public class App{ public static void main(String[] args) { Test1 t1 = new Test1(); Test1.Test2 t2; t2 = t1.new Test2(); t2.get(); Test1.Test3 t3 = new Test1.Test3(); }}class Test1{ private int age = 0; public Test1() { System.out.println("外部类"); } public cl 阅读全文
posted @ 2013-09-04 23:28 wp456 阅读(139) 评论(0) 推荐(0)
浙公网安备 33010602011771号