登录
首页 » Java » Homework08

Homework08

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

  • 日程管理
    一个类似的日历,数据表的设计。我想了很久,也没有找到一种好办法。如果象Google calendar 一样,可添加月,周,日重复。。数据库里面,我想应该只有一条记录。(A similar calendar, data table design)
    2020-06-24 02:40:02下载
    积分:1
  • 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
  • Exe3_3
    3.设计一个能够描述点(point)、线(line)、圆(circle)、矩形(rectangle)和三角形(triangle)等几何形状的类体系,能够计算不同形状的周长和面积(如果能够定义的话)。程序文件命名为Exe3_3.java。(3. Design a point can be described (point), line (line), circle (circle), class hierarchy rectangle (rectangle) and the triangle (triangle) and other geometric shapes, different shapes can calculate perimeter and area (if you can define if). Program file named Exe3_3.java.)
    2015-10-23 19:30:11下载
    积分:1
  • 波迅+BHU-5G+网桥+编程器固件+AR9344芯片.bin
    ar9344网桥固件波讯波迅+BHU-5G+网桥+编程器固件+AR9344芯片.bin(Ar9344 bridge firmware wave wave fast +BHU-5G+ bridge + programmer firmware +AR9344 chip.Bin)
    2020-08-01 19:28:36下载
    积分:1
  • MultipartTestServlet
    上传下载java很简单很实用的代码,已经测试可以正常使用的(up/load for java)
    2013-02-08 02:05:03下载
    积分:1
  • javase01
    javase的第一个练习,对于初学者很有参考价值。(javase first exec, it is useful for fresh)
    2014-03-02 16:11:56下载
    积分:1
  • TomExam2_With_JTM
    tomexam,一个简单易用的在线考试系统。tomcat、java、mysql.(tomexam, a simple-to-use online examination system. tomcat, java, mysql.)
    2017-01-12 14:46:20下载
    积分:1
  • chatroom
    聊天 现代汉语辞典里对 聊天 的解释为:闲谈,即空闲时候说说话。 网络聊天是什么 咋看上去这是一个非常愚蠢的话题,但细细想来的确还有几分迷惑,上网近六年我总在思考这看似简单却又令人费解的问题,网络是什... (chatroom)
    2010-03-10 18:07:27下载
    积分:1
  • struts-2.3.4.1-src
    truts2最新版本2.3.4.1源码(truts2 latest 2.3.4.1 source)
    2012-09-14 01:00:45下载
    积分:1
  • 全国市级边界shp高分辨率
    提供全国市级边界的shp高分辨率shp文件(21/5000 Provide SHP high resolution SHP files for national municipal boundaries)
    2020-06-30 12:20:02下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载