-
dhgl
电费管理系统比较社和初学者!对实际应用,帮助比较大!(Electricity management system is relatively clubs and beginners! For practical applications, to help big!)
- 2013-12-08 21:38:30下载
- 积分:1
-
Bank
an example of bank account in java
- 2015-04-25 09:55:04下载
- 积分:1
-
MyCxfServer
说明: 基于cxf实现的java服务器端webservice,包含一个sayHello方法,供入门者参考(Java server-side Web service based on CXF includes a sayHello method for beginners to refer to)
- 2019-05-19 15:38:46下载
- 积分:1
-
javabasic2
基本的java小程序,需要的可以看看,能使吸纳基本功能(Basic java applets, need to look at, to make the basic functions to absorb)
- 2014-05-03 20:36:58下载
- 积分:1
-
Swing实现PPT界面切换功能
Java Swing实现PPT界面切换功能(Swing Realizes PPT Interface Switching Function)
- 2019-03-14 15:17:05下载
- 积分:1
-
常见面试题梳理
说明: changjian wemti mainshi pian
- 2020-06-20 01:20:02下载
- 积分:1
-
java例
这是一个以JAVA编写的程序,本人还没有试过,是一个简单的温度控制系统(this is a Java programs written, I have not tried, is a simple temperature control system)
- 2005-05-06 10:43:12下载
- 积分:1
-
zhengZheBiaoDaShi
java中的正则表达式说明,供学习Java的初学者使用(java regular expression in the description)
- 2011-05-14 23:57:15下载
- 积分:1
-
javadesign
java毕业设计,里面含有文档资料,比较全,下载下来即可作为毕业设计(java design graduate, which contains documentation, more full, download it as a graduation project)
- 2009-05-15 10:03:19下载
- 积分:1
-
Exe4_3
3.已知车辆(Vehicle)包括机动车(MotoVehicle)和非机动车(NonMotorVehicle)2种。小汽车(Car)、公交车(Bus)等属于机动车,自行车(Bicycle)等属于非机动车。随着能源技术的发展,出现了电动自行车(ElectricBicycle)、电动小汽车(ElectricCar)、天然气公交车(NaturalGasBus)等新型车辆。车辆的共同特征是都能够运行(run),并且有唯一的5位车牌号(LicenseNumber)。机动车的共同特征是采用燃油发动机(FuelEngine),且能够驾驶(drive)。自行车的共同特征是能够骑行(ride)。电动车辆的共同特征是由电池(Battery)驱动。天然气车辆的共同特征是采用天然气(NaturalGas)作为动力。
要求:
(1)设计一个类体系描述上述车辆,写出它们的属性和方法。
(2)一家公司(Company)拥有10辆普通小汽车、5辆公交车、2辆电动小汽车和1辆天然气公交车,要求写一个方法listVehicles()显示所有车辆的信息(车牌号以及采用的动力)。
程序文件命名为Exe4_3.java。(3. Known vehicle (Vehicle) including motor vehicle (MotoVehicle) and non-motorized (NonMotorVehicle) 2 species. Cars (Car), bus (Bus), etc. to motor vehicles, bicycles (Bicycle), etc. are non-motor vehicles. With the development of energy technologies, the emergence of electric bicycles (ElectricBicycle), electric cars (ElectricCar), natural gas buses (NaturalGasBus) and other new vehicles. A common feature of the vehicle is able to run (run), and there are only five license plate number (LicenseNumber). Common feature is the use of a motor vehicle fuel engine (FuelEngine), and is capable of driving (drive). Common feature is the ability to ride a bike (ride). Common characteristics of the electric vehicle is driven by a battery (Battery). A common feature is the use of natural gas vehicles (NaturalGas) as the driving force.
Claim:
(1) describe the design of a class system of the vehicle, write their properties and methods.
(2) a company (Company) owns 10 ordinary cars, five buses, )
- 2015-06-14 18:22:51下载
- 积分:1