void show()
{
System.out.println("fu show");
}
}
class Zi extends Fu
{
int num = 8;
Zi()
{
super();
System.out.println("zi cons run...."+num);
return;
}
void show()
{
System.out.println("zi show..."+num);
}
}
class text
{
public static void main(String[] args)
{
Zi z = new Zi();
z.show();
}
}
这个机制是怎样的啊,fu show 为什么没有打印出来?父类的super( ),是什么意思,调用谁的构造方法?