Define inheritance classes Car, Bus, Truck and Motor in the files Car.java, Bus.java,

时间:2013-11-20 07:54:22
【文件属性】:

文件名称:Define inheritance classes Car, Bus, Truck and Motor in the files Car.java, Bus.java,

文件大小:1KB

文件格式:JAVA

更新时间:2013-11-20 07:54:22

Bus

The class Bus should include data members that hold the following information: Bus type (should be one of Small, Medium, Large types), number of seats. Define necessary methods in the class Bus.


网友评论