编译时出错?帮我说说出错的原因就行了,多谢!!!
class Vehicle
{
Vehicle (String s)
{
System.out.println("It is Vehicle's constructor...");
}
}
class Car extends Vehicle
{
Car(String i)
{
System.out.println("It is Car's constructor...");
}
}
public class test
{
public static void main(String[] args)
{
Car c = new Car("xxxxxxxxxxxxx");
}
}