文件名称:DongTai
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:29.43kb
-
已下载:1次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
实现程序模拟简单的火车售票的情况。
火车票分为硬座和卧铺,车票还有普通票和学生票。有基类: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/
DongTai/.classpath
DongTai/.project
DongTai/.settings/
DongTai/.settings/org.eclipse.jdt.core.prefs
DongTai/bin/
DongTai/bin/com/
DongTai/bin/com/cn/
DongTai/bin/com/cn/print.class
DongTai/bin/com/cn/TestDongtai.class
DongTai/src/
DongTai/src/com/
DongTai/src/com/cn/
DongTai/src/com/cn/TestDongtai.java
实验二 Java基本程序设计结构.doc
DongTai/.classpath
DongTai/.project
DongTai/.settings/
DongTai/.settings/org.eclipse.jdt.core.prefs
DongTai/bin/
DongTai/bin/com/
DongTai/bin/com/cn/
DongTai/bin/com/cn/print.class
DongTai/bin/com/cn/TestDongtai.class
DongTai/src/
DongTai/src/com/
DongTai/src/com/cn/
DongTai/src/com/cn/TestDongtai.java
实验二 Java基本程序设计结构.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.