首页 开发技术 Java     /    Java实现自动售货机程序

Java实现自动售货机程序

上传者: reneeyyy18 | 上传时间:2024/10/6 14:06:23 | 文件大小:80KB | 文件类型:rar
Java实现自动售货机程序
功能简述:提供3种饮料;
硬币仅支持50分或100分1枚,其他硬币值不接受;
投入50分硬币,选择的饮料正好有库存,提示“请取饮料”,否则提示“目前该饮料已经售完。
”;
若投入100分硬币,在上一种情况的基础上,还需检查是否机内存有50分硬币,如有则提示“请取饮料,并取回找钱。
”,否则提示“对不起,目前不能找钱,请投5角硬币。
”;
购买成功,需将该饮料库存减少一。

文件下载

资源详情

[{"title":"(20个子文件80KB)Java实现自动售货机程序","children":[{"title":"SaleMachine","children":[{"title":".project <span style='color:#111;'>387B</span>","children":null,"spread":false},{"title":"bin","children":[{"title":"SaleGUI$4.class <span style='color:#111;'>1.64KB</span>","children":null,"spread":false},{"title":"SaleGUI$1.class <span style='color:#111;'>717B</span>","children":null,"spread":false},{"title":"SaleMachineTest.class <span style='color:#111;'>794B</span>","children":null,"spread":false},{"title":"TestSaleMachine.class <span style='color:#111;'>905B</span>","children":null,"spread":false},{"title":"SaleMachine.class <span style='color:#111;'>812B</span>","children":null,"spread":false},{"title":"SaleGUI.class <span style='color:#111;'>6.88KB</span>","children":null,"spread":false},{"title":"gui.icon","children":[{"title":"orange.jpg <span style='color:#111;'>19.73KB</span>","children":null,"spread":false},{"title":"coffee.jpeg <span style='color:#111;'>9.08KB</span>","children":null,"spread":false},{"title":"beer.jpeg <span style='color:#111;'>4.78KB</span>","children":null,"spread":false}],"spread":true},{"title":"SaleGUI$2.class <span style='color:#111;'>1.83KB</span>","children":null,"spread":false},{"title":"SaleGUI$3.class <span style='color:#111;'>1.83KB</span>","children":null,"spread":false}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'>629B</span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"SaleGUI.java <span style='color:#111;'>10.02KB</span>","children":null,"spread":false},{"title":"TestSaleMachine.java <span style='color:#111;'>473B</span>","children":null,"spread":false},{"title":"SaleMachine.java <span style='color:#111;'>559B</span>","children":null,"spread":false},{"title":"gui.icon","children":[{"title":"orange.jpg <span style='color:#111;'>19.73KB</span>","children":null,"spread":false},{"title":"coffee.jpeg <span style='color:#111;'>9.08KB</span>","children":null,"spread":false},{"title":"beer.jpeg <span style='color:#111;'>4.78KB</span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".classpath <span style='color:#111;'>377B</span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • chuanqiliu:
    为了找到软件工程的自动售货机案例,下载参考,很好!2020-02-20
  • ma20130120:
    写的挺好的,有用2014-11-17
  • Wendy-lxq:
    还不错,基本都看得懂。理解起来也比较快2014-07-02
  • Jerry_Lee01:
    还可以,不过稍微显得有点简单2014-05-06
  • chhyoho:
    基本功能有实现,但是粗糙了点。。2014-04-17

免责申明

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