登录
首页 » Java » Homework08

Homework08

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

  • explore
    《Java入门与实例》(Java introduction and instances)
    2020-06-26 10:20:02下载
    积分:1
  • Wicked-Cool-Java
    Wicked Cool Java contains 101 fun, interesting, and useful ways to get more out of Java. This isn’t intended as a Java tutorial–it’s targeted at developers and system architects who have some basic Java knowledge but may not be familiar with the wide range of libraries available. Full of example code and ideas for combining them in useful projects, this book is perfect for hobbyists, and professionals will find tips and open-source projects to enhance their code and make their jobs easier. Topics include converting a non-XML text structure into XML using a parser generator, experimenting with a Java simulator for the Cell Matrix, creating dynamic music and sound in Java, working with open-source class libraries for scientific and mathematical applications, and many more.
    2012-10-24 23:52:26下载
    积分:1
  • Win-in-the-clouds
    赢在云端,一本描述云计算的书籍,希望对云计算入门的同学有所帮助。(Win in the clouds, a description of cloud computing books, we hope the cloud started to help students.)
    2013-08-06 17:12:56下载
    积分:1
  • SourceCode-for-Thinking-in-Java.chm
    Thinking in java 的源代码,编程习题的源代码(Thinking in java source code, source code for programming exercises)
    2013-02-22 06:44:53下载
    积分:1
  • java thisprint
    this source prints this
    2018-06-25 18:54:06下载
    积分:1
  • eclipse
    eclipse快捷键使用方式,非常齐全,绝对的值(eclipse shortcut keys used, very well equipped, the absolute value of the)
    2013-08-26 18:19:30下载
    积分:1
  • javappt
    javappt 是老师上课时的课件 适合初学者(javappt is the teacher' s courseware class for beginners)
    2010-06-08 22:20:28下载
    积分:1
  • 4GuessNumber
    给你一个1至100之间的整数,请猜测这个数(Java GuessNumber give you a 1 to 100 between integer, please guess the number Java )
    2012-04-03 16:05:24下载
    积分:1
  • cattsoft
    该项目采用Struts框架,主要为各类通信系统运营商或信息系统用户提供业务管理的完整解决方案。整个任务管理系统分为系统管理员、主管和员工三种角色,其中系统管理员具有添加人员、删除人员和分配人员的职责,主管具有制定任务、查看任务、调整任务、跟踪任务和查看人员等职责,员工具有制定计划、反馈计划、删除计划和查询计划的职责。通过以上三个角色实现对任务的管理。(The project uses the Struts framework, mainly to provide a complete solution for all types of business management communications system operator or user information systems. Overall task management system is divided into system administrators, supervisors, and employees in three roles, responsibilities which the system administrator has to add staff, delete personnel and distribution personnel in charge with the development tasks, view task, adjusting tasks, tracking tasks and view personnel duties, employees have a plan, feedback programs, plans and responsibilities delete query plans. Management of tasks to achieve the above three roles.)
    2013-12-23 12:14:58下载
    积分:1
  • StudentClass
    一个简单的学生信息记录表,用到了子类和父类的构造与派生(A simple student information records, use the subclass structure and derivation)
    2012-04-26 17:57:26下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载