package com.njust.test.kemu2;

class StaticTest2
{
    public static void main(String[] args)
    {
        //        init father
        //        34
        //       System.out.println(Father.m);
        //------------------------------------
        
        //        init father
        //        init child
        //        36
        //System.out.println(Child.m);
        //------------------------------------
        
        //        init father
        //        init child
        // new Child();
    }
}

class Father
{
    public static int m = 34;
    
    static
    {
        System.out.println("init father");
    }
}

class Child extends Father
{
    
    static
    {
        m = 35;
        System.out.println("init child");
    }
    
    public static int m = 36;
}

@@ -749,24 +749,38 @@
 %0A    %7D%0A    %0A
+    //%E6%B3%A8%E6%84%8F%E8%BF%99%E9%87%8C%E7%9A%84%E9%A1%BA%E5%BA%8F%0A
     public s

Update StaticTest2.java