外部类调用super()的含义
class Vehicle{
class Wheel
{
}
}
class PlaneWheel extends Vehicle.Wheel
{
PlaneWheel(Vehicle ve)
{
ve.super();
}
public static void main(String[] args)
{
Vehicle vehicle=new Vehicle();
PlaneWheel pw=new PlaneWheel(vehicle);
}
}
上面程序里为什么PlaneWheel构造器要用ve.super();使用外部类对象调用super()构造器到底是调用什么?

