-
剑指 Offer 题解
Sword refers to the Java implementation, a total of 65 to the topic, you can view the topic in the cattle network
- 2019-04-26 14:20:34下载
- 积分:1
-
CalculatorService
This is calcute the age of the persons.
- 2017-10-31 20:11:21下载
- 积分: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
-
org.maemo.esbox.cpp.launch.cdi.gdb
说明: Esbox 的部分源代码,可提供学习使用。。。。。。。。。。。。(Esbox source code.......................)
- 2009-07-30 15:49:00下载
- 积分:1
-
bus
课程设计设计JSP公交车查询系统,供大家参考学习。(Curriculum Design JSP query system bus, for your learning.)
- 2013-12-13 21:54:33下载
- 积分:1
-
sourcefiles
window下使用j2ee的jms工具做的网络应用的一个架构程序(window using the jms Providing the tools to do a network application framework procedures)
- 2005-06-29 19:04:25下载
- 积分:1
-
QQChar_SER_Cliet
java版QQ聊天,实现用户登录验证,群发,私聊及公告,后台数据MSSQL2K(java version of QQ chat, users logged in achieving certification and repeated, and Private Chat notice background information MSSQL2K)
- 2006-11-18 23:50:58下载
- 积分:1
-
cxht-promotionLove-web
微信愚人节活动:登录注册发送表白信息,所有信息入库,包括发送者的openId unionid 等,并且统计数量.(WeChat Fool s Day activities: Sign up to send express messages, all information into the library, including the sender s openId unionid, and statistics.)
- 2020-10-19 21:37:25下载
- 积分:1
-
java串口发送短信
使用java串口发送指令控制短信猫发短信(Using java serial port to send instructions to control short message cat sending short message)
- 2019-06-29 11:48:08下载
- 积分:1
-
Fake-Login-Pages-or-Phishing(Yahoo_Facebook_Hi5_O
fake login source code and black hat details
- 2016-06-30 18:39:37下载
- 积分:1