-
Card
一个简单的JAVA应用,可以通过身份证号查询个人信息,包括出生年月,出生地,性别等。(A simple Java application, you can query ID personal information, including date of birth, place of birth, gender, and so on.)
- 2013-05-21 14:11:49下载
- 积分: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
-
极客学院23个设计模式完整代码及课件
设计模式(Design pattern)代表了最佳的实践,通常被有经验的面向对象的软件开发人员所采用。设计模式是软件开发人员在软件开发过程中面临的一般问题的解决方案。这些解决方案是众多软件开发人员经过相当长的一段时间的试验和错误总结出来的。(Design Pattern presents the best practice)
- 2018-10-15 15:53:08下载
- 积分:1
-
Microphone_Array_Signal_Processing_Springer-2008-0
麦克风整列声源定位.2008年spring出的很好(A book for acoustic source localization with microphone array .)
- 2009-09-07 10:26:56下载
- 积分:1
-
ly
旅游网站设计,数据库设计,框架设计,主体设计,网页设计(Travel website design, database design, frame design, main design, web design)
- 2019-05-14 11:25:39下载
- 积分:1
-
Skiman
Motorola skin changer
- 2009-09-05 13:30:56下载
- 积分:1
-
头像图片剪裁上传swf组件的java版
说明: 头像图片剪裁上传swf组件的java版,上传图片是实现可裁剪图片大小后上传(Head image clipping and uploading the Java version of SWF component)
- 2020-06-16 09:40:02下载
- 积分:1
-
Java_object_relational_mapping_Xiangjie
Java对象关系映射详解:Java object relational mapping Xiangjie(Java object-relational mapping Xiangjie: Java object relational mapping Xiangjie)
- 2010-07-04 17:11:24下载
- 积分:1
-
menubar-1.0.20-src
说明: 使用j2me实现二级菜单,有利于页面的扩展,有利于开发(Use j2me to achieve the secondary menu is conducive to the expansion of the page and is conducive to the development of)
- 2008-10-26 14:45:12下载
- 积分:1
-
sort
这是Java编写的快速排序算法源码,保证有用,希望对大家有用,很好用。(This is a fast sorting algorithm written in Java source code to ensure that useful and hope to be useful, easy to use.)
- 2015-11-09 16:32:24下载
- 积分:1