登录
首页 » Java » w1

w1

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

代码说明:

说明:  实现求圆形、三角形、矩形的面积和周长。要求和说明如下: (一) 定义接口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 个回复

  • jped.m
    jpeg decoder in matlab
    2010-11-16 00:28:14下载
    积分:1
  • Chapter6
    这是通信系统仿真的第六章的例题的仿真程序代码!挺好的,希望对大家有用!(This is a communication system simulation examples of Chapter VI of the simulation program code! Very good, and I hope useful for everyone!)
    2008-07-08 15:47:10下载
    积分:1
  • Phase-Only-Correlation
    phase only correlation
    2012-08-16 03:05:31下载
    积分:1
  • Cyclic-codes-and-decode-GUI
    循环编码,校验子译码,梅吉特译码,GUI界面设计。程序完整,可以良好运行,注释清晰。(Cyclic codes, check subdecode, Meggitt decoder, GUI interface design. Integrity of the process, you can run a good, clear notes)
    2013-10-02 22:38:23下载
    积分:1
  • maain
    matlab code for Smart Grid
    2015-02-07 13:29:42下载
    积分:1
  • convert_units
    convert unix for fMRI
    2013-04-25 21:09:53下载
    积分:1
  • Untitled
    单相半波整流电路谐波分析,可以计算谐波的幅值,谐波含量并画图。(Single-phase half-wave rectifier circuit harmonic analysis, we can calculate the magnitude of the harmonics, harmonic content and Paint.)
    2015-04-23 15:59:09下载
    积分:1
  • ycsf
    本程序演示的是用遗传算法随机一个种群,然后根据所给的交叉率,变异率,世代数计算最大适应度所在的代数(This procedure is demonstrated by using genetic algorithms a population of random, and then the basis for cross-rate, mutation rate, calculated from generation to generation, where the largest fitness algebra)
    2007-12-27 17:33:14下载
    积分:1
  • 123123
    利用matlab编写最优输出观测器算法, 对初学者很有帮助(The optimal output observer algorithm is designed by matlab, and is very helpful for beginners)
    2013-05-09 17:42:53下载
    积分:1
  • EMD
    一维EMD算法 输入ip--待分解数据序列,一维列向量; 输出imf--分解后得到的IMF分量,二维数组表示;(One-dimensional EMD algorithm input ip- be decomposed data series, one-dimensional column vectors output imf- IMF components obtained after decomposition, two-dimensional array representation )
    2010-06-07 14:58:09下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载