-
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
-
design-documents
网页信息采集子系统:
网页采集:动态查找及实时分析新增网页,读取网页回帖信息。
网页过滤:,对获取的网页,通过网页清洗模块清除网页中的广告、导航信息、
图片、版权说明等噪声数据,萃取出相关网页的标题、正文、链接地址、采集时
间、回帖、发帖人数等数据。
网页信息预处理子系统:
网页审查脏字:主要功能包括中文分词、词性标注、命名实体识别、新词识别,
建立数据库说明每类词库,建立敏感词词库。
网页舆情监测:监测是否出现了一定影响的舆论,即回帖的回帖或支持、顶等
达到一个预先设定的阈值;
舆情分析子系统:
汇总网站舆情:汇总整个网站的舆情监控信息,自动生成报告。(Web information collection subsystem: the pages collection: dynamic lookup and real-time analysis of the new website, read pages Replies. Web filtering: to clear advertising pages, navigation information, images, copyright noise data access pages via web cleaning module, extract the relevant page title, text, link address, acquisition time, posts, posting number and other data. Web information preprocessing subsystem: Web review dirty: The main features include the Chinese word segmentation, POS tagging, named entity recognition, new word identification, to establish a database description of each type of thesaurus, and the establishment of a sensitive word thesaurus. Page opinion monitoring: monitoring whether there is a certain influence public opinion, that a reply to the post or support other top reaches a preset threshold public opinion analysis subsystems: summary website public opinion, public opinion monitoring information: summary of the entire site, automatically generate re)
- 2021-04-01 21:59:08下载
- 积分:1
-
KruskalAlgorithm
kruskal in java simple, easy, i hope that s useful thanks
- 2016-11-13 16:46:08下载
- 积分:1
-
apriori
apriori.java
//---- apriori.java
//---- input file need:
//---- 1. config.txt
//---- four lines, each line a integer
//---- item number, transaction number , minsup
//---- 2. transa.txt
- 2010-01-12 20:42:14下载
- 积分:1
-
Calculator
Java下编的计算器小程序,能实现简单的加减乘除功能(Java applet next series of calculators that can achieve a simple arithmetic functions)
- 2013-06-16 15:02:44下载
- 积分:1
-
streate-separate-merger
主要处理的流的拆分与合并,以后可以用于网络下载,以及断点续传(Split and merge main processing stream, can later be used for the network to download, as well as HTTP)
- 2013-03-20 16:17:42下载
- 积分:1
-
TicketSystem_demo1
票务管理系统 可以实习会员注册 查询车票等
并可以在线购票 管理员端口 可以增加修改班次线路价钱, 修改会员级别。(Ticket management system can be registered as a member of the registration inquiries, etc.
And online ticket administrator can increase the number of changes to modify the line price, modify the membership level.)
- 2016-01-15 10:42:55下载
- 积分:1
-
jspTest
JAVAEE实现的购物车demo,能实现与数据库的连接,具有增加删除修改产品等功能,具有商品页面。(JAVA EE to achieve the shopping cart demo, can achieve the connection with the , with the increase in the deletion of modified products and other functions, with commodity pages.)
- 2016-11-03 14:08:46下载
- 积分:1
-
SpringEhcache_Demo
Ehcache +spring 的Demo实例(how to use Ehcache with Spring)
- 2012-12-10 13:23:01下载
- 积分:1
-
selectbook
设计一个教材类,一个课程类,及一个为某门课程指定参考教材的类。一门课程可以有多本参考教材,再设计一个测试类。(it a program created form me)
- 2018-06-11 21:29:45下载
- 积分:1