//车类
package Vehicle;
public abstract class Car {
private String carId; //车牌号
private String brand; //品牌
private int rent; //租金
public Car() {
super();
}
public Car(String carId, String brand, int rent) {
super();
this.carId = carId;
this.brand = brand;
this.rent = rent;
}
public String getCarId() {
return carId;
}
public void setCarId(String carId) {
this.carId = carId;
}
public String getBrand() {
return brand;
}
public void setBrand(String brand) {
&n

最低0.47元/天 解锁文章
1149

被折叠的 条评论
为什么被折叠?



