登录
首页 » Java » Homework08

Homework08

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

  • MyTextPane
    自己动手写的简单记事本,能完成大部分window平台自带记事本功能(Write their own simple Notepad, to complete most of the window platform comes with Notepad function)
    2017-08-16 16:27:39下载
    积分:1
  • Java获取字符串编码格式
    根据字符串内容识别编码格式 简单实用 用来解决检测编码不统一的问题(Identifies the encoding format based on the string content)
    2018-05-29 13:56:46下载
    积分:1
  • rising
    运用java的GUI编写瑞星卡卡界面,主要可参考各种元件的排列方式(GUI written using java ruixingkaka interface mainly refer to the various components of the arrangement)
    2012-09-10 22:47:53下载
    积分:1
  • 阿里巴巴Java开发手册.pdf
    java编程规范,是学习java编程的好资料(Java programming specification)
    2018-04-12 18:37:15下载
    积分:1
  • apache-upload
    apache上传控件 里面包括apache官方提供的开发包 和一个jsp页面 (apache apache upload control which includes official development kit and a jsp page)
    2013-11-26 14:10:06下载
    积分:1
  • Applet
    使用JAVA实现多个Applet间进行通信,Applet1向Applet2发送消息,Applet2将收到消息显示出来。(JAVA Applet using multiple communications between, Applet1 send a message to the Applet2, Applet2 will receive the message displayed. )
    2011-05-18 12:07:33下载
    积分:1
  • java7
    这是JAVA的教程,非常详细的讲稿,可以参考(This is the Java Directory, a very detailed script, they can refer to)
    2005-04-08 12:40:30下载
    积分:1
  • DFA
    DFA自动状态机的JAVa编程实现。程序调试成功/(DFA using by JAVA.)
    2015-09-23 16:42:48下载
    积分:1
  • securitydemo
    spingsecurity的demo,初学者可根据注释和代码进行学习(Spingsecurity demo, beginners can learn from comments and code)
    2019-06-06 14:19:12下载
    积分:1
  • CalculatorService
    This is calcute the age of the persons.
    2017-10-31 20:11:21下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载