1. class StaticStuff{
2. static int x=10;
3. static { x+=5;}
4. public static void main(String args[ ]){
5. System.out.println("x=" + x);
6. }
7. static { x/=3;}
8. }
A、编译通过,执行结果为:x=5
B、3行与7行不能通过编译,因为缺少方法名和返回类型
C、7行不能通过编译,因为只能有一个静态初始化器
D、编译通过,执行结果为:x=3
A