Shape

所属分类:Java编程
开发工具:Java
文件大小:6KB
下载次数:13
上传日期:2013-10-31 13:58:09
上 传 者canghaifengyin
说明:  设Shape是圆、矩形、三角形共享的类,含有求圆的周长和面积的方法getCircumference()与getArea(),以及属性DESCRIPTION以描述几何体的特征,试设计相关类圆、矩形、三角形类,并求圆、矩形、三角形的周长与面积。设计相应的测试类,求实际对象的面积与方法。(要求分别将Shape类用抽象、接口实现)
(Let Shape is round, rectangular, triangular shared class containing the perimeter and area of ​ ​ circular method getCircumference () and getArea (), as well as property DESCRIPTION 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 (301, 2013-10-30)
Shape\.project (381, 2013-10-30)
Shape\.settings\org.eclipse.jdt.core.prefs (629, 2013-10-30)
Shape\bin\Circle.class (577, 2013-10-30)
Shape\bin\Rentangle.class (715, 2013-10-30)
Shape\bin\Shape.class (142, 2013-10-30)
Shape\bin\Testshape.class (2451, 2013-10-30)
Shape\bin\Triangle.class (924, 2013-10-30)
Shape\src\Circle.java (307, 2013-10-30)
Shape\src\Rentangle.java (506, 2013-10-30)
Shape\src\Shape.java (112, 2013-10-30)
Shape\src\Testshape.java (1773, 2013-10-30)
Shape\src\Triangle.java (528, 2013-10-30)
Shape\.settings (0, 2013-10-30)
Shape\bin (0, 2013-10-30)
Shape\src (0, 2013-10-30)
Shape (0, 2013-10-30)

近期下载者

相关文件


收藏者