![]() |
#2
calix2017-08-08 23:09
|
public class B
{
public static B t1 = new B();
public static B t2 = new B();
{
System.out.println("构造块");
}
static
{
System.out.println("静态块");
}
public static void main(String[] args)
{
B t = new B();
}
}
这个输出结果为什么是 构造块 构造块 静态块 构造块