class Demo_2 {
public static void main(String[] args){
new Zer();
}
}
class Fu {
public Fu(){
System.out.println("Fu构造函数");
}
}
class Zi extends Fu {
private Fu fu= new Fu();
public Zi(){
System.out.println("Zi构造函数");
}
}
class Zer extends Zi {
private Zi zi= new Zi();
public Zer(){
System.out.println("Zer构造函数");
}
}