登录
首页 » Java » Homework08

Homework08

于 2020-12-07 发布 文件大小:6KB
0 209
下载积分: 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 个回复

  • 深入浅出学Shiro
    shiro基础资料,包含简单的基本内容,供大家学习使用(shiro learning data for boay)
    2020-06-21 18:20:02下载
    积分:1
  • DummyProvider
    A simple content provider for AsyncQueryHandlerTest and ContentQueryMapTest.
    2013-12-29 14:42:08下载
    积分:1
  • counts
    利用动态规划法,求出字符串A变为字符串B的最小操作数。(每次只能操作一个字符)(Find the minimum operand that turns string A into string B)
    2020-06-24 23:40:12下载
    积分:1
  • ReportProperties
    ReportProperties implements IAppErrorCodes.
    2014-02-19 12:11:46下载
    积分:1
  • PanelDemo
    Java源代码实例。Panel的实例!非常实用()
    2007-10-11 11:19:43下载
    积分:1
  • cangkuguanli
    仓库管理系统,主要实现了仓库管理的各个细节,希望那个能帮到大家。(warehouse system。)
    2012-12-06 08:33:50下载
    积分:1
  • JavaSpider
    Java版蜘蛛牌,是采用Java编写的蜘蛛牌程序,可以实现Windows下的蜘蛛牌类似功能(Java version spider card, is written using Java spider licensing procedures, the spiders can be achieved under a license similar to the Windows functions)
    2010-05-13 13:51:27下载
    积分:1
  • esmd4j-1.0-free (2)
    说明:  用于极点对称模态分解求解,对输入信号进行模态分解并求出相应图形和数据(Used for pole-symmetric modal decomposition solution, modal decomposition of input signals and determination of corresponding graphics and data)
    2019-02-28 21:23:39下载
    积分:1
  • UploadFile
    java实现的上传文件的代码,并实现了分文件夹存储,每个文件夹最多存储1000个文件,存满后自动创建新的文件夹,最初的文件夹的名字从“1”开始,以后自增。()
    2021-04-19 22:48:50下载
    积分:1
  • Azureus_2.3.0.4_source
    Azureus_2.3.0.4_source code about bittorrent P2P protocol
    2014-11-04 12:33:20下载
    积分:1
  • 696516资源总数
  • 106658会员总数
  • 16今日下载