-
Java-Concurrency-in-Practice
一本讲述Java并发编程的书籍,详备完整,适合学习(A book about the Java concurrent programming, detailed preparation complete, for learning)
- 2015-09-22 10:37:42下载
- 积分:1
-
mozilla-shell-emulation
Sets up fake implementations of MDC built-in objects and functions necessary to run the tests in V8.
- 2014-02-02 22:43:09下载
- 积分:1
-
fiteswilesall
Java ,显示当前磁盘当前文件夹的所有文件(Java, display the current disk all files of the current folder)
- 2017-05-27 18:28:17下载
- 积分:1
-
GUIIPLS21
说明: oints in data to the points in model. Fit with respect to minimize the sum of square
- 2020-06-22 23:40:01下载
- 积分:1
-
struts2.1.8-jar
struts2基本包,可以用此来开发j2ee的各项程序(struts2 jibenbao)
- 2015-04-03 16:16:35下载
- 积分:1
-
深入浅出学Shiro
shiro基础资料,包含简单的基本内容,供大家学习使用(shiro learning data for boay)
- 2020-06-21 18:20:02下载
- 积分:1
-
dataapple
说明: 這是一個用JAVA所寫的簡單繪圖應用程式
JPanel為容器物件.pane1為畫布.pane2物件用來放置繪圖工具按鈕.pane3放置顏色按鈕(This is a book with a simple JAVA application mapping for the JPanel container object. Pane1 for the canvas. Pane2 object mapping tool used to place the button. Pane3 placed color button)
- 2009-08-12 23:40:52下载
- 积分:1
-
HeadFirstDesignPatterns_code102507
说明: 这是head first design patterns源码,讲解了java23种设计模式(23 design patterns in Java)
- 2019-07-04 10:16:01下载
- 积分:1
-
kjvm
嵌入式JAVA虚拟机机制研究.pdf---论文(Embedded JAVA virtual machine mechanism. Pdf- thesis)
- 2008-03-04 20:46:35下载
- 积分: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