登录
首页 » Java » Homework08

Homework08

于 2020-12-07 发布 文件大小:6KB
0 231
下载积分: 1 下载次数: 0

代码说明:

  利用前面提到的SupplyDepot、Transport和CapableOfBeingRefefuelled类/接口,为Air-plane增加一个main()方法,然后为supplyDepot等增加必要的字段、参数和代码,以便CapableOfBeingRefefuelled能够告诉service()方法需要加多少油。同时要确保Depot中的油应相应地减少,而实现CapableOfBeingRefefuelledi的类对象应相应地增加。(Using the upplyDepot, Transport and ApableOfBeingRefefuelled classes/interfaces mentioned above, add a main () method to Air-plane, and then add the necessary fields, parameters and codes to supplyDepot, so that CapableOfBeingRefefuelled can tell service () how much fuel the method needs. At the same time, we should ensure that the oil in Depot should be reduced accordingly, and the class objects that implement Capable OfBeingRefefuelledi should be increased accordingly.)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • social-member
    说明:  springcloud基本功能,一些简单的查询操作,删除操作,插入操作,定时任务配置(Spring cloud basic functions, some simple query operations, delete operations, insert operations, timing task configuration)
    2020-06-24 06:00:02下载
    积分:1
  • AbstractItemVisitor
    An output stream for the body of an HTTP request Source Code for Java Script.
    2013-10-04 10:18:01下载
    积分:1
  • 1JSP笔记
    jsP个人笔记,十分适合新手学习,建议下载,内容详细(JsP personal notes, very suitable for beginners to learn, it is recommended to download, detailed content)
    2020-06-24 09:00:02下载
    积分:1
  • sip的jar包
    说明:  SIP信令解析的jar包, 用于java语言的开发(There is a jar package of sip procotol, which is used in java development.)
    2020-06-25 13:00:02下载
    积分:1
  • Java Socket+Demo通信 服务器端例子
    仅含服务器端代码
    2015-04-01下载
    积分:1
  • daimada
    几个不错的程序 是本人好多天的结果 真的和不错呀 适合java的学习(several good procedure is the result of my afterwards and really good game for java study)
    2007-01-21 16:08:19下载
    积分:1
  • 1
    说明:  跨平台即时通信技术在无线网络的研究与实现。(Cross-platform instant messaging technology in the wireless network and its implementation.)
    2010-04-01 10:36:47下载
    积分:1
  • MemoryGame
    java 记忆游戏 MemoryGame(java game MemoryGame)
    2010-08-28 10:23:00下载
    积分:1
  • src
    SSD3 Exercise 6, FileCatalogLoader.java, GourmetCoffee.java
    2013-11-24 14:46:24下载
    积分:1
  • ATM-Example
    使用java编写的模拟atm的代码,多线程操作,实现了存取查询功能(Atm using the java code written in simulation, multi-threaded operation, to achieve the access search functions)
    2010-11-07 15:45:58下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载