文件名称:UsedCarSystem
-
所属分类:
- 标签属性:
- 上传时间:2017-03-25
-
文件大小:183.36kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
简易二手车管理系统
可添加删除车辆、修改车辆具体信息(车型、厂家、型号、购入时间、购入价格、是否售出、售出价格)、将车辆信息保存到外部文档、从外部文档读取车辆信息-System Design
Class car:
includes car’s self-attributes, such as its number, logo, price.etc.
Class DataStream:
includes 2 methods, readData() and saveData()
readData(): use DataInputStream get data “CarData.txt”, and then put data into class car’s object.
saveData(): use Array store cars’ data their object, and use DataOutputStream to store data in “CarData.txt”
Class AddAndDel:
Includes 2 methods, addNewCar() and DelSoldCar()
addNewCar(): read Child object of car, add a new object in the end. Scan its details.
DelSoldCar(): scan the number of the sold car, mark it and scan its sale price and date of sale.
Class Show:
Includes 4 methods, showAll(), showOnList(), showOnListByDate() and showSold()
showAll(): Traversing all child objects and print them on screen.
showOnList():Traversing all child objects, recognize which have not been sold and print them on screen.
showOnListByDate(): On basis of showOnList(), using Bubbling algorithm to sort dates
可添加删除车辆、修改车辆具体信息(车型、厂家、型号、购入时间、购入价格、是否售出、售出价格)、将车辆信息保存到外部文档、从外部文档读取车辆信息-System Design
Class car:
includes car’s self-attributes, such as its number, logo, price.etc.
Class DataStream:
includes 2 methods, readData() and saveData()
readData(): use DataInputStream get data “CarData.txt”, and then put data into class car’s object.
saveData(): use Array store cars’ data their object, and use DataOutputStream to store data in “CarData.txt”
Class AddAndDel:
Includes 2 methods, addNewCar() and DelSoldCar()
addNewCar(): read Child object of car, add a new object in the end. Scan its details.
DelSoldCar(): scan the number of the sold car, mark it and scan its sale price and date of sale.
Class Show:
Includes 4 methods, showAll(), showOnList(), showOnListByDate() and showSold()
showAll(): Traversing all child objects and print them on screen.
showOnList():Traversing all child objects, recognize which have not been sold and print them on screen.
showOnListByDate(): On basis of showOnList(), using Bubbling algorithm to sort dates
(系统自动生成,下载前可以参看下载内容)
下载文件列表
UsedCarSystem/CarData.txt
UsedCarSystem/
UsedCarSystem/bin/
UsedCarSystem/bin/CSE105/
UsedCarSystem/bin/CSE105/AddAndDel.class
UsedCarSystem/bin/CSE105/Car.class
UsedCarSystem/bin/CSE105/DataStream.class
UsedCarSystem/bin/CSE105/Menu.class
UsedCarSystem/bin/CSE105/Show.class
UsedCarSystem/build.xml
UsedCarSystem/manifest.mf
UsedCarSystem/nbproject/
UsedCarSystem/nbproject/build-impl.xml
UsedCarSystem/nbproject/configs/
UsedCarSystem/nbproject/configs/DataStream.properties
UsedCarSystem/nbproject/configs/Menu.properties
UsedCarSystem/nbproject/configs/test.properties
UsedCarSystem/nbproject/genfiles.properties
UsedCarSystem/nbproject/project.properties
UsedCarSystem/nbproject/project.xml
UsedCarSystem/src/
UsedCarSystem/src/CSE105/
UsedCarSystem/src/CSE105/AddAndDel.java
UsedCarSystem/src/CSE105/Car.java
UsedCarSystem/src/CSE105/DataStream.java
UsedCarSystem/src/CSE105/Menu.java
UsedCarSystem/src/CSE105/Show.java
UsedCarSystem/System Design.docx
UsedCarSystem/
UsedCarSystem/bin/
UsedCarSystem/bin/CSE105/
UsedCarSystem/bin/CSE105/AddAndDel.class
UsedCarSystem/bin/CSE105/Car.class
UsedCarSystem/bin/CSE105/DataStream.class
UsedCarSystem/bin/CSE105/Menu.class
UsedCarSystem/bin/CSE105/Show.class
UsedCarSystem/build.xml
UsedCarSystem/manifest.mf
UsedCarSystem/nbproject/
UsedCarSystem/nbproject/build-impl.xml
UsedCarSystem/nbproject/configs/
UsedCarSystem/nbproject/configs/DataStream.properties
UsedCarSystem/nbproject/configs/Menu.properties
UsedCarSystem/nbproject/configs/test.properties
UsedCarSystem/nbproject/genfiles.properties
UsedCarSystem/nbproject/project.properties
UsedCarSystem/nbproject/project.xml
UsedCarSystem/src/
UsedCarSystem/src/CSE105/
UsedCarSystem/src/CSE105/AddAndDel.java
UsedCarSystem/src/CSE105/Car.java
UsedCarSystem/src/CSE105/DataStream.java
UsedCarSystem/src/CSE105/Menu.java
UsedCarSystem/src/CSE105/Show.java
UsedCarSystem/System Design.docx
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.