class B static I'm A class class A I'm B class class B 由此可见:执行顺序是:静态初始化块 -> 初始化块 -> 构造方法 === 1 2 3 4 5 6 7 8 9 packagecom.algorithm; publicclassAnimal { privateintcount; publicintgetCount() { returncount; } } 1 2 3 4 5 6 7 8 packagecom.algori...