-
8456457457
手机RSS阅读器(html5),应用程序编程源码,很好的参考资料。(Mobile phone RSS reader (HTML5), application programming source code, a good reference.)
- 2013-11-09 17:41:16下载
- 积分:1
-
myExam
用Java web框架struts2+Hibernate实现了考试系统。(java web)
- 2014-05-19 15:42:07下载
- 积分:1
-
PruebaJScrollPane
Esto es un ejemplo de como usar el JScrollPane
- 2015-09-17 22:01:20下载
- 积分:1
-
HealthClub
一个健身俱乐部的源码,页面时有用jsp和jquery。比较完整,导入即可运行。数据库用的是mysql(A health club source, while a useful jsp page and jquery. More comprehensive introduction to run. Database using mysql)
- 2013-12-02 13:52:12下载
- 积分:1
-
SpringTest
说明: spring框架集的简单小应用,实现了一些基本的功能(A simple and small application of the spring framework, which implements some basic functions)
- 2020-06-19 20:38:53下载
- 积分:1
-
2003814983546
一个支持servlet的web服务器
(The web server that supports servlet)
- 2010-01-03 10:29:53下载
- 积分:1
-
source
一个JAVA编写的菜单程序,运行可以看到一个歌曲点播界面(A JAVA program written in the menu, run you can see a song on-demand interface)
- 2009-12-24 22:21:44下载
- 积分:1
-
steganography
stenography project using java.
hiding data in image.
- 2011-11-04 06:11:09下载
- 积分:1
-
Project8
一个娱乐行业的管理软件,使用Java编程,有完整的程序代码,非常详细(An entertainment industry management software using the Java programming, a complete code, very detailed)
- 2013-12-23 19:12:57下载
- 积分: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