import java.util.ArrayList; public class Car { private String model; private int engine; private int hp; private int cargoW; private String typeCargo; private ArrayListtires; public Car(String model, int engine, int hp, int cargoW, String typeCargoe,ArrayListtires) { this.model = model; this.engine = engine; this.hp = hp; this.cargoW = cargoW; this.typeCargo = typeCargo; this.tires=tires; } public ArrayList getTires() { return tires; } public void setTires(ArrayList tires) { this.tires = tires; } public String getModel() { return model; } public void setModel(String model) { this.model = model; } public int getEngine() { return engine; } public void setEngine(int engine) { this.engine = engine; } public int getHp() { return hp; } public void setHp(int hp) { this.hp = hp; } public int getCargoW() { return cargoW; } public void setCargoW(int cargoW) { this.cargoW = cargoW; } public String getTypeCargo() { return typeCargo; } public void setTypeCargo(String typeCargo) { this.typeCargo = typeCargo; } }