public class 对象初始化顺序 { public static void main(String[] args){ Person p = new Person(); } } class Person{ public static String staticfield ="静态成员变量"; public String field ="成员变量"; static { System.out.println(staticfield); System.out.println("静态初始化块"); } { System.out.println(field); System.out.println("初始化块"); } Person(){ System.out.println("构造函数"); }