public static void main(String[] args) { car[] cars={new passengerCar("奥迪A6" , 500, 4), new passengerCar("马自达6",400,4), new Pickup("皮卡雪6",450,4,2), new passengerCar("金龙",800,20), new Truck("松花江",400,4), new Truck("依维柯",1000,20) }; ········cars[i].show(); 这个数组和最后这个car[i].show()还请大神帮忙解释一下
添加回答
举报
0/150
提交
取消