62,616
社区成员
发帖
与我相关
我的任务
分享
package com;
public class Test {
static int a;
public static void main(String[] args)throws Exception{
Class.forName("com.A");
System.out.println(a);
}
}
class A{
static{
Test.a = 10;
}
}