文件名称:homework1
介绍说明--下载内容均来自于网络,请自行研究使用
编写求解几何图形周长、面积的应用程序,要求如下:
1) 几何图形要求至少包含直线、三角形,矩型,圆等类型,计算周长,面积等。
2) 要求能计算两个图形之间的距离
3) 要求能计算两个图形进行布尔运算(即交、并、差)后的面积(可选作)。
4) 必须用到继承、接口、多态和包
-Written to solve geometry perimeter, area of application requirements are as follows:
1) The geometry requires at least linear, triangular, rectangular, round and other types of computing perimeter, area, etc.
2) requires to calculate the distance between two graphs
3) requires two graphics performance computing Boolean operations (ie, pay, and, worse) after the area (for optional).
4) must use inheritance, interfaces, polymorphism, and packages
1) 几何图形要求至少包含直线、三角形,矩型,圆等类型,计算周长,面积等。
2) 要求能计算两个图形之间的距离
3) 要求能计算两个图形进行布尔运算(即交、并、差)后的面积(可选作)。
4) 必须用到继承、接口、多态和包
-Written to solve geometry perimeter, area of application requirements are as follows:
1) The geometry requires at least linear, triangular, rectangular, round and other types of computing perimeter, area, etc.
2) requires to calculate the distance between two graphs
3) requires two graphics performance computing Boolean operations (ie, pay, and, worse) after the area (for optional).
4) must use inheritance, interfaces, polymorphism, and packages
(系统自动生成,下载前可以参看下载内容)
下载文件列表
homework1\.classpath
.........\.project
.........\bin\Circle.class
.........\...\Line.class
.........\...\Point.class
.........\...\Shape.class
.........\...\Square.class
.........\...\TestShape.class
.........\...\Triangle.class
.........\src\Circle.java
.........\...\Line.java
.........\...\Point.java
.........\...\Shape.java
.........\...\Square.java
.........\...\TestShape.java
.........\...\Triangle.java
.........\bin
.........\src
homework1
.........\.project
.........\bin\Circle.class
.........\...\Line.class
.........\...\Point.class
.........\...\Shape.class
.........\...\Square.class
.........\...\TestShape.class
.........\...\Triangle.class
.........\src\Circle.java
.........\...\Line.java
.........\...\Point.java
.........\...\Shape.java
.........\...\Square.java
.........\...\TestShape.java
.........\...\Triangle.java
.........\bin
.........\src
homework1