文件名称:Shape
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2013-10-31
- 文件大小:
- 6kb
- 下载次数:
- 0次
- 提 供 者:
- J***
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
设Shape是圆、矩形、三角形共享的类,含有求圆的周长和面积的方法getCircumference()与getArea(),以及属性DEscr iptION以描述几何体的特征,试设计相关类圆、矩形、三角形类,并求圆、矩形、三角形的周长与面积。设计相应的测试类,求实际对象的面积与方法。(要求分别将Shape类用抽象、接口实现)-Let Shape is round, rectangular, triangular shared class containing the perimeter and area of circular method getCircumference () and getArea (), as well as property DEscr iptION to describe the characteristics of geometry, try to design related classes circles, rectangles, triangles class, and of circular, rectangular, triangular perimeter and area. Design appropriate test class, find the area of the actual object and method. (Requires separately with the Shape class is abstract, interface)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Shape\.classpath
.....\.project
.....\.settings\org.eclipse.jdt.core.prefs
.....\bin\Circle.class
.....\...\Rentangle.class
.....\...\Shape.class
.....\...\Testshape.class
.....\...\Triangle.class
.....\src\Circle.java
.....\...\Rentangle.java
.....\...\Shape.java
.....\...\Testshape.java
.....\...\Triangle.java
.....\.settings
.....\bin
.....\src
Shape