0 public class Super { 1 static { 2 System.out.println("this is super's static statement block"); 3 } 4 { 5 System.out.println("this is super's dynamic statement block"); 6 } 7 } 下面说法正确的是
A.
代码1~3行叫static method,4~6行叫dynamic method
B.
代码1~3行叫static block,4~6行叫dynamic block
C.
代码1~3行会在类加载的时候运行,4~6行会在创建对象的时候运行
D.
代码1~3行会在创建对象的时候运行,4~6行会在加载类的时候运行