以下程序执行的结果是( ) ----- 单选
class Fu{
public int num = 10;
public Fu(){
System.out.println("fu");
}
}
class Zi extends Fu {
public int num = 20;
public Zi(){
System.out.println("zi");
}
public void show(){
int num = 30;
System.out.println(num);
System.out.println(this.num);
System.out.println(super.num);
}
}
class Test1_Extends {
public static void main(String[] args) {
Zi z = new Zi();
z.show();
}
}
A、zi zi 10 20 30
B、fu zi 30 20 10
C、fu fu 10 20 30
D、fu zi 10 10 30