摘要: 父类package test;public class Parent { public static int a = menthod2(); public int b = 11; { System.out.println("父快类的非静态块"); } static { System.out.println("父类的静态块"); } public Parent(){ System.out.println("父类的构造函数"); } public static void menthod(){ System.out.println(&quo 阅读全文
posted @ 2014-03-06 20:27 lifeng_study 阅读(815) 评论(0) 推荐(0) 编辑