问答详情
源自:12-1 综合练习

((passengerCar)car).getCarCapacity()不太懂啥意思

System.out.println(car.getCarNumber()+"\t"+car.getCarName()+"\t"+car.getCarRentMoney()

                                                  +"/天"+"\t"+"载人:"+((passengerCar)car).getCarCapacity()+"人");


提问者:政客补情 2016-07-11 22:44

个回答

  • Bobzhangxiaotao
    2016-07-12 00:07:43

    强转类型