1.先父类,后子类 2.先属性,后构造方法 3.先静态,后非静态 4.静态属性和静态代码块看书写先后顺序 5.统一类型(非数据类型),按代码书写顺序
父类静态变量,父类静态代码块 子类静态变量,子类静态代码块 父类非静态变量,父类非静态代码块 父类构造函数,子类非静态变量 子类非静态代码块,子类构造函数