最赞回答 / Mr_Li_0001
可以使用构造函数。 Vehicle vic=new Bike("road",1000); vic.feature(); vic = new Bus("sky",800); vic.feature();
2015-05-14