文件名称:DongTai
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 29kb
- 下载次数:
- 0次
- 提 供 者:
- 陈**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
实现程序模拟简单的火车售票的情况。
火车票分为硬座和卧铺,车票还有普通票和学生票。有基类:ticker,子类:hardseat, sleeper。有孙类:normal, extra。hardseat, sleeper继承了ticker,而normal, extra分别都继承了hardseat和sleeper。
火车票上有起点站和终点站,时间,座位,价格。
顾客可以根据起点站和终点站查找所需的信息,可以买票。
管理人员可以增加,删除数据。可以把写入一个数据,查找一个数据,或删除一个数据。
程序通过ArrayList来实现增加,查找,删除数据。
-Realize the program simulation of the train ticket of simple.
A train ticket into and sleeping, the ticket have common tickets and staff. A base class: ticker, a subclass: hardseat, sleeper. A sun class: normal, extra. Hardseat, sleeper inherited the ticker, and normal, extra are inherited hardseat and sleeper.
The train ticket is beginning port and terminal, time, seat, the price.
Customers can according to the beginning port terminal and find necessary information, can buy a ticket.
Management personnel may increase, delete data. Can put into one data, find a data, or delete a data.
Program through the ArrayList to realize the increase, the search, and delete data.
火车票分为硬座和卧铺,车票还有普通票和学生票。有基类:ticker,子类:hardseat, sleeper。有孙类:normal, extra。hardseat, sleeper继承了ticker,而normal, extra分别都继承了hardseat和sleeper。
火车票上有起点站和终点站,时间,座位,价格。
顾客可以根据起点站和终点站查找所需的信息,可以买票。
管理人员可以增加,删除数据。可以把写入一个数据,查找一个数据,或删除一个数据。
程序通过ArrayList来实现增加,查找,删除数据。
-Realize the program simulation of the train ticket of simple.
A train ticket into and sleeping, the ticket have common tickets and staff. A base class: ticker, a subclass: hardseat, sleeper. A sun class: normal, extra. Hardseat, sleeper inherited the ticker, and normal, extra are inherited hardseat and sleeper.
The train ticket is beginning port and terminal, time, seat, the price.
Customers can according to the beginning port terminal and find necessary information, can buy a ticket.
Management personnel may increase, delete data. Can put into one data, find a data, or delete a data.
Program through the ArrayList to realize the increase, the search, and delete data.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
DongTai
.......\.classpath
.......\.project
.......\.settings
.......\.........\org.eclipse.jdt.core.prefs
.......\bin
.......\...\com
.......\...\...\cn
.......\...\...\..\print.class
.......\...\...\..\TestDongtai.class
.......\src
.......\...\com
.......\...\...\cn
.......\...\...\..\TestDongtai.java
实验二 Java基本程序设计结构.doc
.......\.classpath
.......\.project
.......\.settings
.......\.........\org.eclipse.jdt.core.prefs
.......\bin
.......\...\com
.......\...\...\cn
.......\...\...\..\print.class
.......\...\...\..\TestDongtai.class
.......\src
.......\...\com
.......\...\...\cn
.......\...\...\..\TestDongtai.java
实验二 Java基本程序设计结构.doc