航空客运订票系统JAVA课程设计

上传者: 34165225 | 上传时间: 2019-12-21 20:42:42 | 文件大小: 582KB | 文件类型: zip
航空客运订票系统 特点:超详细的JAVA代码注释,代码保护性,无论输入什么都不会崩溃; 【问题描述】航空客运订票的业务活动包括:查询航线、添加航班,客票预订和办理退票等七大功能,已实现操作文件。试设计一个航空客运订票系统,以使上述业务可以借助计算机来完成。 【基本要求】 (1)每条航线所涉及的信息有:终点站名、航班号、飞机号、飞行周日(星期几)、乘员定额、余票量、已订票的客户名单(包括姓名、订票量、舱位等级1,2或3)以及等候替补的客户名单(包括姓名、所需票量); (2)系统能实现的操作和功能如下: ①录入:可以录入航班情况,全部数据可以只放在内存中,最好存储在文件中; ②查询航线:根据旅客提出的终点站名输出下列信息:航班号、飞机号、星期几飞行,最近一天航班的日期和余票额; ③承办订票业务:根据客户提出的要求(航班号、订票数额)查询该航班票额情况,若尚有余票,则为客户办理订票手续,输出座位号;若已满员或余票额少于订票额,则需重新询问客户要求。若需要,可登记排队候补; ④承办退票业务:根据客户提供的情况(日期、航班),为客户办理退票手续,然后查询该航班是否有人排队候补,首先询问排在第一的客户,若所退票额能满足他的要求,则为他办理订票手续,否则依次询问其他排队候补的客户。 【测试数据】由读者自行指定。 【实现提示】两个客户名单可分别由线性表和队列实现。为查找方便,已订票客户的线性表应按客户姓名有序,并且,为插入和删除方便,应以链表作存储结构。由于预约人数无法预计,队列也应以链表作存储结构。整个系统需汇总各条航线的情况登录在一张线性表上,由于航线基本不变,可采用顺序存储结构,并按航班有序或按终点站名有序。每条航线是这张表上的一个记录,包含上述8个域、其中乘员名单域为指向乘员名单链表的头指针,等候替补的客户名单域为分别指向队头和队尾的指针。 【选作内容】当客户订票要求不能满足时,系统可向客户提供到达同一目的地的其他航线情况。读者还可充分发挥自己的想象力,增加你的系统的功能和其他服务项目 I/O流操作时用到了GSON,解压即可看到,如果发现报错,读者可以配置一下Gson的路径,在属性,JAVA构建路径中删除原有的三个GSON库,添加外部,下载的GSON库。如果不用可以将Main类中new ReadFlightLine();注释掉即可。

文件下载

资源详情

[{"title":"( 63 个子文件 582KB ) 航空客运订票系统JAVA课程设计","children":[{"title":"GSON完整包","children":[{"title":"gson-2.2.4-javadoc.jar <span style='color:#111;'> 243.51KB </span>","children":null,"spread":false},{"title":"gson-2.2.4.jar <span style='color:#111;'> 185.96KB </span>","children":null,"spread":false},{"title":"gson-2.2.4-sources.jar <span style='color:#111;'> 124.57KB </span>","children":null,"spread":false}],"spread":true},{"title":"NewFlight","children":[{"title":"bin","children":[{"title":"com","children":[{"title":"gioppl","children":[{"title":"alternate","children":[{"title":"SeeAlternatePassenger.class <span style='color:#111;'> 1.56KB </span>","children":null,"spread":false},{"title":"AlternateChageCeremonial.class <span style='color:#111;'> 1.85KB </span>","children":null,"spread":false}],"spread":true},{"title":"Passenger","children":[{"title":"BookTicket.class <span style='color:#111;'> 7.64KB </span>","children":null,"spread":false},{"title":"Passenger.class <span style='color:#111;'> 1.88KB </span>","children":null,"spread":false},{"title":"SeePassenger.class <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false},{"title":"UnsubscribeTicket.class <span style='color:#111;'> 4.23KB </span>","children":null,"spread":false}],"spread":true},{"title":"Flight","children":[{"title":"DeleteFlightLine.class <span style='color:#111;'> 1.86KB </span>","children":null,"spread":false},{"title":"AddFlightLine.class <span style='color:#111;'> 3.89KB </span>","children":null,"spread":false},{"title":"SeeFlightLine.class <span style='color:#111;'> 2.00KB </span>","children":null,"spread":false},{"title":"FlightLine$WeekType.class <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"FlightLine.class <span style='color:#111;'> 2.81KB </span>","children":null,"spread":false}],"spread":true},{"title":"Main","children":[{"title":"ConsoleTab.class <span style='color:#111;'> 805B </span>","children":null,"spread":false},{"title":"Main.class <span style='color:#111;'> 2.95KB </span>","children":null,"spread":false},{"title":"ReadFlightLine.class <span style='color:#111;'> 1.84KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"Flight2","children":[{"title":"bin","children":[{"title":"com","children":[{"title":"gioppl","children":[{"title":"alternate","children":[{"title":"SeeAlternatePassenger.class <span style='color:#111;'> 1.43KB </span>","children":null,"spread":false},{"title":"AlternateChageCeremonial.class <span style='color:#111;'> 1.70KB </span>","children":null,"spread":false}],"spread":true},{"title":"Passenger","children":[{"title":"BookTicket.class <span style='color:#111;'> 1.86KB </span>","children":null,"spread":false},{"title":"Passenger.class <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"SeePassenger.class <span style='color:#111;'> 1.47KB </span>","children":null,"spread":false},{"title":"UnsubscribeTicket.class <span style='color:#111;'> 2.71KB </span>","children":null,"spread":false}],"spread":true},{"title":"Flight","children":[{"title":"DeleteFlightLine.class <span style='color:#111;'> 1.56KB </span>","children":null,"spread":false},{"title":"AddFlightLine.class <span style='color:#111;'> 1.36KB </span>","children":null,"spread":false},{"title":"SeeFlightLine.class <span style='color:#111;'> 1.43KB </span>","children":null,"spread":false},{"title":"FlightLine$WeekType.class <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"FlightLine.class <span style='color:#111;'> 1.67KB </span>","children":null,"spread":false}],"spread":true},{"title":"Main","children":[{"title":"ConsoleTab.class <span style='color:#111;'> 798B </span>","children":null,"spread":false},{"title":"Main.class <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.core.resources.prefs <span style='color:#111;'> 57B </span>","children":null,"spread":false},{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 598B </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"com","children":[{"title":"gioppl","children":[{"title":"alternate","children":[{"title":"SeeAlternatePassenger.java <span style='color:#111;'> 631B </span>","children":null,"spread":false},{"title":"AlternateChageCeremonial.java <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false}],"spread":true},{"title":"Passenger","children":[{"title":"SeePassenger.java <span style='color:#111;'> 616B </span>","children":null,"spread":false},{"title":"Passenger.java <span style='color:#111;'> 843B </span>","children":null,"spread":false},{"title":"UnsubscribeTicket.java <span style='color:#111;'> 2.54KB </span>","children":null,"spread":false},{"title":"BookTicket.java <span style='color:#111;'> 1.86KB </span>","children":null,"spread":false}],"spread":true},{"title":"Flight","children":[{"title":"FlightLine.java <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false},{"title":"AddFlightLine.java <span style='color:#111;'> 788B </span>","children":null,"spread":false},{"title":"SeeFlightLine.java <span style='color:#111;'> 588B </span>","children":null,"spread":false},{"title":"DeleteFlightLine.java <span style='color:#111;'> 780B </span>","children":null,"spread":false}],"spread":true},{"title":"Main","children":[{"title":"ConsoleTab.java <span style='color:#111;'> 951B </span>","children":null,"spread":false},{"title":"Main.java <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'> 382B </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 302B </span>","children":null,"spread":false}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.core.resources.prefs <span style='color:#111;'> 57B </span>","children":null,"spread":false},{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 598B </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"com","children":[{"title":"gioppl","children":[{"title":"alternate","children":[{"title":"SeeAlternatePassenger.java <span style='color:#111;'> 671B </span>","children":null,"spread":false},{"title":"AlternateChageCeremonial.java <span style='color:#111;'> 1.36KB </span>","children":null,"spread":false}],"spread":true},{"title":"Passenger","children":[{"title":"SeePassenger.java <span style='color:#111;'> 679B </span>","children":null,"spread":false},{"title":"Passenger.java <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false},{"title":"UnsubscribeTicket.java <span style='color:#111;'> 4.93KB </span>","children":null,"spread":false},{"title":"BookTicket.java <span style='color:#111;'> 11.98KB </span>","children":null,"spread":false}],"spread":true},{"title":"Flight","children":[{"title":"FlightLine.java <span style='color:#111;'> 2.58KB </span>","children":null,"spread":false},{"title":"AddFlightLine.java <span style='color:#111;'> 3.83KB </span>","children":null,"spread":false},{"title":"SeeFlightLine.java <span style='color:#111;'> 1.45KB </span>","children":null,"spread":false},{"title":"DeleteFlightLine.java <span style='color:#111;'> 1.80KB </span>","children":null,"spread":false}],"spread":true},{"title":"Main","children":[{"title":"ReadFlightLine.java <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false},{"title":"ConsoleTab.java <span style='color:#111;'> 962B </span>","children":null,"spread":false},{"title":"Main.java <span style='color:#111;'> 3.79KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'> 385B </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 669B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • 一个转行入坑10年的程序员的自白 :
    测试一下感谢分享
    2018-07-16
  • Dyilang :
    可以用感谢分享
    2017-12-26

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明