文件名称:w1
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2013-12-19
- 文件大小:
- 1kb
- 下载次数:
- 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) )
(一) 定义接口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) )
(系统自动生成,下载前可以参看下载内容)
下载文件列表
w1.java