登录
首页 » Java » Homework08

Homework08

于 2020-12-07 发布
0 204
下载积分: 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 个回复

  • 03
    说明:  基于java的企业电子商城,再次项目中,有普通用户和会员用户,且有登陆界面和主界面。(Java-based enterprise e-mall, the project again, there are regular users and members of the user, and have the login screen and the main interface.)
    2011-05-25 17:48:22下载
    积分:1
  • 桂林文创商城系统 毕业设计;JAVA+MySQL SpringMVC框架 源码+数据库+素材
    管理员账号/密码:admin/admin
    2020-11-27下载
    积分:1
  • Thinking-in-Java-4th-Edition
    Thinking in Java是java学习的最经典资料,该共享为第四版(Thinking in Java is the most classic java learning data, the share for the fourth edition)
    2016-02-25 11:06:32下载
    积分:1
  • ViewPagerGuide
    ViewPager的滑动,以及图标的变动,(ViewPager use)
    2014-04-07 10:42:02下载
    积分:1
  • MeetingServerSystemBasedRMI
    一个基于RMI的分布式会议议程管理服务系统,包括一个服务端和客户端程序。(A distributed meeting server system based RMI,which includes a server program and a client program.)
    2009-03-25 09:12:58下载
    积分:1
  • WifiHot-Sock
    说明:  Android Wifi热点数据传输Socket 通信示例源码(Android Wifi hotspot data transmission socket communication sample source code)
    2020-03-18 13:57:55下载
    积分:1
  • Calculator
    说明:  java语言实现的小计算器,功能简单,适合初学者使用(a simple calculator with java )
    2009-08-02 23:16:12下载
    积分:1
  • Spring-transaction
    编程式事务管理以及声明式事务管理(bean/xml/注解)的代码演示(Code demonstration of programmatic transaction management and declarative transaction management (bean/XML/annotations))
    2017-12-06 21:19:33下载
    积分:1
  • 打飞碟JAVA程序
    打飞碟程序,用JAVA编写!还比较号玩!(fight UFO procedures, prepared using JAVA! Still, playing!)
    2005-01-02 20:54:49下载
    积分:1
  • SSH实现的商城项目
    SSH实现的商城项目,就是基本的商城项目,内含数据库(Shopping Mall Project Implemented by SSH)
    2020-06-16 01:20:02下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载