class Fu
{
Fu(){
System.out.println("fu run");
}
Fu(int x){
System.out.println("fu....");
}
}
class Zi extends Fu
{
Zi(){
super(int 2);
System.out.println("zi run");
}
Zi(int x){
super(int 3);
System.out.println("zi...");
}
}
class ExtendsDemo4
{
public static void main(String[] args)
{
Zi z = new Zi();
Zi z1 = new Zi(2);
}
}
大牛帮忙看看哪里出错了。。 |
|