登录
首页 » Java » w1

w1

于 2013-12-19 发布 文件大小:1KB
0 262
下载积分: 1 下载次数: 2

代码说明:

  实现求圆形、三角形、矩形的面积和周长。要求和说明如下: (一) 定义接口sharp接口 (二) 通过实现接口定义Rect、Triangle、Circle的类,并且一个构造方法,并实现求面积和周长的方法(其中三角形斜边的计算公式c=Math.sqrt (width * width + height * height ) ) (Seeking to achieve circular, triangular, rectangular area and perimeter. Requirements and are described as follows: (a) define the interface sharp interfaces (two) by implementing the interface definition Rect, Triangle, Circle of class and a constructor method, and implement methods for the area and perimeter (where the hypotenuse of the triangle formula c = Math.sqrt (width* width+ height* height) ))

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Turbo
    此程序为Turbo编码的程序,用Matlab编程实现(Matlab program for turbo code)
    2010-07-27 03:15:39下载
    积分:1
  • system-analysis-and-design-
    基于MATLAB的系统分析与设计——信号处理(MATLAB-based system analysis and design- signal processing)
    2013-04-08 09:50:37下载
    积分:1
  • Timers
    TIMER sample code and test program
    2013-12-08 22:40:35下载
    积分:1
  • flywheel
    可用于直流为电网,飞轮储能系统的研究。里面的模型可用(It can be used to study the flywheel energy storage system.)
    2015-07-07 11:38:29下载
    积分:1
  • simulation-of-light
    书籍:高等光学仿真-光波导激光,通过具体例子展示matlab的强大功能(Books: higher- optical waveguide laser optical simulation, through specific examples show the powerful functions of matlab)
    2016-06-03 22:34:25下载
    积分:1
  • inverter_1671
    Single phase inverter in simulink
    2010-09-15 02:55:34下载
    积分:1
  • vrp-in-GA
    使用matlab编写遗传算法,解决车辆路径最优化问题。(VRp using GA methods)
    2014-09-28 09:37:06下载
    积分:1
  • gangdu
    可用于计算齿轮(包括变位齿轮)在不同传递转矩下的时变啮合刚度(It can be used to calculate the time-varying meshing stiffness of gears (including modified gears) at different transmission torque)
    2021-01-25 20:28:43下载
    积分:1
  • Classification_toolbox
    在网上找到的一个模式识别工具箱,希望对大家有用(online to find a pattern recognition toolbox, we hope to useful)
    2007-02-23 13:54:25下载
    积分:1
  • 声发射
    对声发射数据的具体处理分析程序,一些根据具体的实验去创建的(A specific processing analysis program for acoustic emission data, which are created by specific experiments)
    2021-03-24 09:09:15下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载