登录
首页 » Java » Homework08

Homework08

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

  • SIM
    说明:  SIM卡信息读取可以获取设备编号、软件版本、运营商代号、运营商名称、手机制式、设备位置等(software version, carrier code, carrier name, mobile phone system, device location, etc.)
    2020-03-13 00:13:04下载
    积分:1
  • JAVA
    MakeBar.dll二维条码生成动态连接库,用以生成PDF417二维条码,适用于windows环境开发工具。(This application not only demonstrates the basics of using the Microsoft Foundation classes but is also a starting point for writing your application. )
    2013-01-03 14:53:56下载
    积分:1
  • NIOTest
    Tests for some buffers from the java.nio package.
    2014-02-21 15:54:12下载
    积分:1
  • 27291302
    mybatis-spring-1,3,1,jar包,mybatis和spring整合用,最新版()
    2017-10-12 18:20:21下载
    积分:1
  • NetBar_javaSwing
    网吧计费系统: 会员卡信息管理(注册、充值、注销、修改密码) 会员持卡上机(上机、验证、结算打印清单)(Internet Billing System: membership card information management (registration, recharge, write-off, Change Password) membership card on the machine (the machine, verify, print the list of settlement))
    2020-12-23 00:19:08下载
    积分:1
  • Process
    java进程调度(优先级)进程调度算法:采用最高优先数优先的调度算法(即把处理机分配给优先数最高的进程)和先来先服务算法。每个进程有一个进程控制块( PCB)表示。进程控制块可以包含如下信息:进程名、优先数、到达时间、需要运行时间、已用CPU时间、进程状态等等。 进程的优先数及需要的运行时间可以事先人为地指定(也可以由随机数产生)。进程的到达时间为进程输入的时间。进程的运行时间以时间片为单位进行计算。每个进程的状态可以是就绪 W(Wait)、运行R(Run)、或完成F(Finish)三种状态之一。就绪进程获得 CPU后都只能运行一个时间片。用已占用CPU时间加1来表示。如果运行一个时间片后,进程的已占用 CPU时间已达到所需要的运行时间,则撤消该进程,如果运行一个时间片后进程的已占用CPU时间还未达所需要的运行时间,也就是进程还需要继续运行,此时应将进程的优先数减1(即降低一级),然后把它插入就绪队列等待CPU。每进行一次调度程序都打印一次运行进程、就绪队列、以及各个进程的 PCB,以便进行检查。  (Java process scheduling)
    2018-11-29 23:13:42下载
    积分:1
  • GJHStruts
    一个很好的struts国际化的例子,能够学习到基本的知识!呵呵!(A good example of struts internationalization can learn basic knowledge! Ha ha!)
    2009-12-16 15:49:43下载
    积分: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
  • 2004420243657
    汽车销售管理系统,供有需要的人下载(car sales management system, the need for downloading.)
    2007-03-19 00:35:03下载
    积分:1
  • pHONEsYSTEMbAR
    Phone System Bar extends Custom Bar Source Code for Andriod.
    2013-12-30 19:11:36下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载