登录
首页 » Java » Homework08

Homework08

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

  • a2
    Java简单小程序,album管理系统,JDBC的应用(Simple Java applet, album management system, JDBC applications)
    2013-08-04 18:33:48下载
    积分:1
  • Project8
    一个娱乐行业的管理软件,使用Java编程,有完整的程序代码,非常详细(An entertainment industry management software using the Java programming, a complete code, very detailed)
    2013-12-23 19:12:57下载
    积分:1
  • 会员积分消费管理系统
    【实例简介】 内含源码、数据库文件、项目日志和项目报告 会员积分消费管理系统是一个数据库应用系统,会员所有信息都是保存在数据库中。本系统将主要实现以下功能:注册会员、查询会员、会员、查询消费记录功能、会员管理、今日消费统计。
    2021-11-16 00:44:03下载
    积分:1
  • java_gui
    java绘图方面的源码,java日期选择控件源码(java source mapping, java date selection control source)
    2008-08-20 23:06:26下载
    积分:1
  • DRWyuanliyingyong
    DWR 原理英文原版。希望能对学习该技术的人员起到作用。(DWR principle of the English original. The hope is to learn the art will play a role.)
    2013-12-18 16:55:04下载
    积分: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
  • hrm-master
    说明:  java project in swing
    2019-03-26 23:02:18下载
    积分:1
  • opennms-icmp
    基于JAVA的ICMP协议实现,ping和traceroute,分为IPV4和IPV6均有实现(JAVA the ICMP protocol, ping and traceroute, is divided into IPV4 and IPV6 are to achieve)
    2021-03-09 10:59:28下载
    积分:1
  • Text
    使用java编写的文件读取显示的软件,代码风格简洁便于读取,使用了java图形进行编写。可以用来功能拓展的二次开发,也可以用来入门学习java的图形化开发。(Prepared using the java file to read the display of the software, the code concise style is easy to read, the use of the java graphics to write. The two development can be used to extend functions, can also be used to the development of graphical java entry learning.)
    2014-01-18 20:52:05下载
    积分:1
  • Java 8实战
    全书分四个部分:基础知识、函数式数据处理、高效Java 8 编程和超越Java 8。(The book is divided into four parts: basic knowledge, functional data processing, efficient Java 8 programming and beyond Java 8.)
    2020-06-19 02:00:01下载
    积分:1
  • 696518资源总数
  • 106259会员总数
  • 28今日下载