???????java???????????????????????????????????????????????????????????????????????
class Father
{
static{
System. out.println("???????????????" );
}
{
System. out.println("????????????" );
}
private static String s=print();
public static String print()
{
System. out.println("?????????" );
return "??????????????????" ;
}
public Father()
{
System. out.println("??????ι???????????????" );
show();
}
public void show()
{
System. out.println("????show()????" );
}
}
class Son extends Father
{
static{
System. out.println("??????????????" );
}
{
System. out.println("????????????" );
}
private static  int i=1;
private String s="??????г??????" ;
public void show()
{
System. out.println("????show()??????i=" +i);
}
public Son()
{
System. out.println("????????????????" );
show();
}
}
public class TestClassLoadSeq {
public static void main(String[] args)
{
new Son();
}
}
????????????
??????????????????
?????????????
??????????????????
????????????????
??????????ι?????????????
????????show()??????i=1
????????????????
????????????????????
???????????????????????s=??????г??????
????????show()??????i=1