登录
首页 » Java » Homework08

Homework08

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

  • jgame-code-civi-students3k
    Civilization game source code in Java: This game is a single or multiplayer strategy game. The player’s character is depends on the ruler of a civilization. It is a simple java game which is also developed for Android device platforms. Yeah! This game supports the android mobile devices as well.
    2014-02-09 12:55:12下载
    积分:1
  • code
    学习java的辅助资料,可以帮助更好地学习java,包含很多源码(the java code is helpful to the learner,you could learn java more easier.)
    2016-01-15 17:35:24下载
    积分:1
  • src
    Java提供的API类BigDecimal,用来对超过16位有效位的数进行精确的运算。双精度浮点型变量double可以处理16位有效数。在实际应用中,需要对更大或者更小的数进行运算和处理。(BigDecimal Java API classes provided for more than 16 significant bits of the number of precise calculations. Double-precision floating-point variables can handle double the number of 16-bit effective. In practice, the need for a larger or smaller number of computing and processing.)
    2016-07-12 10:24:52下载
    积分:1
  • SendTCP
    sendtcp java 发送tcp包的程序,基于winpcap,jpcap(sendtcp java Send tcp packet procedures, based on winpcap, jpcap)
    2021-04-18 16:18:57下载
    积分:1
  • Change-the-text-and-style
    在Java开发中,经常需要改变文字的式样,这里通过字符串、颜色、尺寸资源改变文字及样式(In the Java development, often we need to change the style of text, change the text here and style through the string, color, size, resources)
    2016-05-01 20:51:24下载
    积分:1
  • 公交车管理系统(javascript+struts)
    Javaweb的公交管理系统,可以实现公交线路的查询以及公交车信息的增删改查(The bus management system of Javaweb can realize bus route query and bus information additions and deletions)
    2018-07-02 16:14:40下载
    积分:1
  • transfer_file_with_md5_and_des
    在服务器与客户端,采用des算法与数字签名技术传送文件(The server and client, using des algorithm and digital signature technology to transfer files)
    2010-07-12 11:05:39下载
    积分:1
  • 12
    说明:  简单实现抽签功能。通过两个数组的定义及借助random方法实现(Draw a simple function to achieve. Through the definition and use of two arrays of random method)
    2011-08-15 09:11:14下载
    积分:1
  • Article_src
    一个Java写的聊天应用程序,它可以处理多个用户在同一时间。它还支持文件传输。 (A chat application written in Java, it can handle multiple users at the same time. It also supports file transfer.)
    2013-02-23 17:29:39下载
    积分:1
  • hellen
    教师业务档案管理系统申网易联是一家专业从事:域名注册、空间租用、服务器租用托管 电信IDC业务等网站建设一体化的正规电信级网络公司,我们以电信级的设施、专业的品质、实在的价格、高速的访问速度为众多的网站建设者提供更快、更稳、更安全的网站空间(Teachers file management systems Shen Netease Alliance engaged in a professional : domain name registration, space rental, rental server hosting IDC telecommunications business sites such as the building of integrated formal telecommunications network company, our carrier-class facilities and professional quality, is the price the high speed access to the many websites builders provide faster, more stable, more secure web space)
    2006-05-31 12:32:42下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载