-
java2
Java教程2-3章全部示例程序 源代码,可供初学者学习(Java Tutorial 2-3 Chapter Full sample program source code, for beginners to learn)
- 2010-05-25 16:20:42下载
- 积分:1
-
阿里巴巴Java开发手册v1.2.0-1
说明: 阿里巴巴 Java 开发手册,本手册的愿景是码出高效、 码出质量。(Alibaba java development manual, the vision of this manual is to code efficiently and code quality.)
- 2020-05-27 20:59:31下载
- 积分:1
-
Blasteroids3AlternateMovement
Java application game that includes a fighter that destroys asteroids.
- 2010-11-28 07:03:05下载
- 积分:1
-
Struts2AndFreemarker
Struts2和Freemarker的配置说明(Struts2 and Freemarker configuration instructions)
- 2010-07-14 14:02:27下载
- 积分:1
-
Java-connet-mysql
java连接到mysql的方法,非常有用(java connect to mysql method is very useful)
- 2013-10-19 16:18:14下载
- 积分:1
-
MVCDAOjava
项目07_使用MVC+DAO完成用户登陆(代码+笔记)(Project 07_ using MVC+DAO complete user login (code+ notes))
- 2013-10-31 14:10:25下载
- 积分: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
-
hengshudao
JAVA横竖倒显示输入的字符串 代码,代码出处:http://www.itneng.com/thread-4121-1-1.html 代码可直接编译(JAVA print)
- 2013-11-18 21:42:04下载
- 积分:1
-
MQStudying
精通MQ文档,详细介绍MQ在应用过程中的深入学习方法(Proficient in MQ documentation detailing the process in the application of MQ-depth learning method)
- 2021-04-08 09:39:00下载
- 积分:1
-
javaservlet
图形界面示例源代码,该压缩文件为Java网络编程的一些例子(Graphical interface sample source code, the compressed file for the Java network programming some examples of)
- 2008-04-30 19:12:26下载
- 积分:1