-
javaexample3
java小例程3。多个小例程,供初学者学习参考(java three small routines. Many small routines for beginners learning reference. .)
- 2006-11-10 14:10:57下载
- 积分:1
-
Desktop
java AES 和 DES加密解密工具类(Java AES and DES Encryption and Decryption Tool Class)
- 2020-06-25 03:20:02下载
- 积分: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
-
4867537666
百度手机地图 实例集合,应用程序编程源码,很好的参考资料。(Set Baidu mobile phone map example, application programming source code, a good reference.)
- 2013-11-12 00:06:06下载
- 积分:1
-
Country
这是一个不错的发送彩信的源码,想要研究彩信的朋友可以看一下。(This is a good source send MMS, wanted to study MMS friend can have a look.)
- 2015-05-03 14:06:08下载
- 积分:1
-
SharpNeatV2
java file for tsp problem solution and neural network sample mode .diffrent techniques in neural network
- 2010-10-07 12:57:31下载
- 积分:1
-
guanbichuangkou
说明: 空间类的使用已经如何应用java开发控件等小组件,如何在程序中使用它(space category has been the use of java application development Control Panel items, such as how to use the procedures it)
- 2006-04-21 20:55:32下载
- 积分:1
-
Database-Connectivity-operation
使用JDBC提供的API以JDBC-ODBC桥接器的方式连接数据库,并与数据库进行信息交互,数据的查询、更新、插入、删除等(Use API JDBC provides JDBC-ODBC bridge to connect the , and information interact with the , data query, update, insert, delete, etc.)
- 2016-08-12 18:10:18下载
- 积分:1
-
doc
这是在下给初学者提供的一点资料,C++源代码,初学者学习特别好,在下才疏学浅,希望提供的对大家有帮助,谢谢(Visual C++)
- 2015-11-17 21:59:12下载
- 积分:1
-
voice-mouse
Voice operated mouse that can connected with java server
- 2013-08-19 12:53:43下载
- 积分:1