登录
首页 » Java » Homework08

Homework08

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

  • image
    Java版色情图像过滤入门示例及源码模拟绿坝过滤机制(Introduction to Java version of pornographic image filtering example and source analog filtering mechanism Green Dam)
    2010-05-14 15:17:16下载
    积分:1
  • LaoHuFuXueBaShenQi
    强制学习应用源码是一个类似于我要当学霸的强制性学习的小应用源码,不过本应用只会检测网络情况,并不会妨碍其他应用的使用,使用的时候先设置好开始时间和结束时间,然后退出,就可以了。软件会在后台运行, 在你设置的时间内,如果你打开网络上网,它就会播放音乐并震动提醒你要好好学习。关掉网络后,两秒钟,震动就会停止。此项目只有监控网络权限,震动权限,并没有网络连接权限,不会造成网络流量的消耗项目编译版本4.1.2默认编码GBK。(Compulsory learning application source code is a similar to me to when tyrants in the mandatory learning in small application source code, but this application will only detect network and does not interfere with other applications use, use the first set the start time and end time, and then exit, to the. Software will run in the background, in the time you set, if you open the Internet, it will play music and vibrate to remind you to learn. Turn off the network, after two seconds, the vibration will stop. This project only monitors network permissions, vibration permissions, and no network connection permissions, the network traffic will not cause the consumption of the project compiled version 4.1.2 default encoding GBK.)
    2016-06-21 13:40:52下载
    积分:1
  • JCalender-1.3.2
    adding a java calendar for your project, good luck
    2019-01-05 16:13:44下载
    积分:1
  • freemark
    学习freemark时候写的工具类,可以用在网站中,通过只初始化一次来提高性能(The learn code of freemark,which developed to a Util, can be used on the site is initialized only once to improve performance)
    2013-04-22 21:28:50下载
    积分:1
  • javacv-0.3-src
    Javacv java computer version its used in the video streaming process.
    2012-12-10 13:57:01下载
    积分:1
  • Guessnumber
    猜数字游戏 游戏说明: 1、游戏开始,电脑随机产生一个数字不重复的四位数。 2、将您猜的数点击OK按钮提交。 3、电脑会将您提交的数与它自动产生的数进行比较,结果显示成"*A*B"。A代表位置正确数字也正确,B代表数字 正确但位置不正确,比如:"2A2B"表示您有2个数字的位置正确且数值也正确,除此以外,您还猜对了2个数字 ,但位置不对。 4、您共有10次机会,在10次内,如果结果为“4A0B”,游戏成功。如果10次里您都没有猜对游戏失败。(Guessnumber: 1, games started, the computer randomly generated a number of non-repetition of the four-digit. 2, would you guess the number of clicks the OK button to submit. 3, the computer will take you to submit a few with it automatically generated a number of comparison, the result is displayed as* A* B . A representative of the location of the correct figure is also correct, B representative of the number of correct but the location is incorrect, such as: 2A2B that you have a two-digit numerical position is correct and also the right, in addition, you guessed it two figures, but wrong location. 4, your opportunity for a total of 10 times in 10 times, if the results of 4A0B , the game successfully. 10 years if you do not have to guess the failure of the game.)
    2021-03-22 08:19:17下载
    积分:1
  • lainie-V3.2
    Simulation of doubly fed induction generator system, Pattern Recognition bayes discriminant analysis algorithm, Is the basis of the signal processing.
    2017-11-16 10:37:48下载
    积分:1
  • 第3章
    gis二次开发,java开源方法库代码分享,希望(Component reuse in the application of GIS development)
    2018-05-16 10:51:19下载
    积分:1
  • Portal-Basic-Java-Web
    Portal-Basic Java Web应用开发框架(Portal-Basic Java Web application development framework)
    2013-08-16 08:03:21下载
    积分:1
  • SLVIPURLhtml
    SL会员商城HTML,每个点都非常详细。功能齐全。(SL Member Mall HTML, each point is very detailed. full functioning.)
    2016-10-12 10:36:19下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载