文件名称: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.


(系统自动生成,下载前可以参看下载内容)

下载文件列表

DongTai

.......\.classpath

.......\.project

.......\.settings

.......\.........\org.eclipse.jdt.core.prefs

.......\bin

.......\...\com

.......\...\...\cn

.......\...\...\..\print.class

.......\...\...\..\TestDongtai.class

.......\src

.......\...\com

.......\...\...\cn

.......\...\...\..\TestDongtai.java

实验二 Java基本程序设计结构.doc

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org