文件名称:AddArea
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2015-03-04
- 文件大小:
- 26kb
- 下载次数:
- 0次
- 提 供 者:
- 李**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
<1> 定义接口Quadrable.java
<2> 定义多个可计算图形面积的图形类(至少三个:Circle、Rectangle、Triangle)。每个类均需要实现接口Quadrable,位于shape包中。类的其他部分可根据需要设置,如:定义Triangle类的话,可以有表示3条边长的数据域。
<3> 定义一个Client类,其中的main方法中建立一个ArrayList和一个数组,调用ShapeUtils类中的两个方法计算面积之和。-<1> defines the interface Quadrable.java
<2> to define multiple classes computable Graphics Graphics area (at least three: Circle, Rectangle, Triangle). Each class was required to implement the interface Quadrable, located in shape package. Other parts of the class may need to set up, such as: Triangle class definition, you can have three side lengths represent data fields.
<3> defines a Client class, where the main method of establishing an ArrayList and an array of calling ShapeUtils class and two methods of calculating the area.
<2> 定义多个可计算图形面积的图形类(至少三个:Circle、Rectangle、Triangle)。每个类均需要实现接口Quadrable,位于shape包中。类的其他部分可根据需要设置,如:定义Triangle类的话,可以有表示3条边长的数据域。
<3> 定义一个Client类,其中的main方法中建立一个ArrayList和一个数组,调用ShapeUtils类中的两个方法计算面积之和。-<1> defines the interface Quadrable.java
<2> to define multiple classes computable Graphics Graphics area (at least three: Circle, Rectangle, Triangle). Each class was required to implement the interface Quadrable, located in shape package. Other parts of the class may need to set up, such as: Triangle class definition, you can have three side lengths represent data fields.
<3> defines a Client class, where the main method of establishing an ArrayList and an array of calling ShapeUtils class and two methods of calculating the area.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
AddArea
.......\build
.......\build.xml
.......\.....\built-jar.properties
.......\.....\classes
.......\.....\.......\shape
.......\.....\.......\.....\Circle.class
.......\.....\.......\.....\Circle.java
.......\.....\.......\.....\Client.class
.......\.....\.......\.....\Client.java
.......\.....\.......\.....\Quadrable.class
.......\.....\.......\.....\Quadrable.java
.......\.....\.......\.....\Rectangle.class
.......\.....\.......\.....\Rectangle.java
.......\.....\.......\.....\ShapeUtils.class
.......\.....\.......\.....\ShapeUtils.java
.......\.....\.......\.....\Triangle.class
.......\.....\.......\.....\Triangle.java
.......\.....\empty
.......\.....\generated-sources
.......\.....\.................\ap-source-output
.......\dist
.......\....\README.TXT
.......\manifest.mf
.......\nbproject
.......\.........\build-impl.xml
.......\.........\genfiles.properties
.......\.........\private
.......\.........\.......\config.properties
.......\.........\.......\private.properties
.......\.........\.......\private.xml
.......\.........\project.properties
.......\.........\project.xml
.......\src
.......\...\shape
.......\...\.....\Circle.java
.......\...\.....\Client.java
.......\...\.....\Quadrable.java
.......\...\.....\Rectangle.java
.......\...\.....\ShapeUtils.java
.......\...\.....\Triangle.java