文件名称:GeometricVersion3
-
所属分类:
- 标签属性:
- 上传时间:2013-06-20
-
文件大小:21kb
-
已下载:7次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
课程设计
几何图形(满分50 分)
版本1:满分10 分
设计抽象类GeometricObject 及其子类Triangle 和Circle。
GeometricObject 类设计要求如下:
■ 一个名为color 的Color 类型的私有数据域,表示对象的颜色。
■ 一个名为filled 的Boolean 类型的私有数据域,表示对象是否填充颜色。
■ 一个名为dateCreated 的Date 类型的私有数据域,表示对象的创建日期。
■ 一个无参构造方法。
■ 一个能创建特定color 和filled 的有参构造方法。
■ 相关数据域的访问器和修改器。
■ 两个个名为draw 和erase 的抽象方法。
■ 一个名为getArea 的抽象方法。
■ 一个名为getPerimeter 的抽象方法。
■ 重写toString 方法。
Triangle 类设计要求如下:
■ 三个名为side1、side2 和 side3 的double 类型的私有数据域表示三角形的三条边。它
们的默认值是1.0。要求三个数据域保留2 位小数。
■ 一个无参的构造方法创建默认三角形。
■ 一个能创建带指定side1、side2 和 side3 的有参构造方法。
■ 所有三个数据域的访问器和修改器方法。
■ 父类抽象方法的实现。
■ 重写toString 方法。
Circle 类-Curriculum Design
Geometry (out of 50)
Version 1: 10 points
Design an abstract class and its subclasses GeometricObject Triangle and Circle.
GeometricObject class design requirements are as follows:
■ a named color of the Color type private data field that indicates the object s color.
■ a Boolean type called filled private data field that indicates whether the object fill color.
■ Date type named dateCreated private data field, which means that the object was created.
■ a no-argument constructor.
■ one can create a specific color and filled in with arg constructor.
■ Related data field accessor and modifier.
■ two months called draw and erase the abstract methods.
■ an abstract method named getArea.
■ an abstract method named getPerimeter.
■ overridden toString method.
Triangle class design requirements are as follows:
■ three named side1, side2 and a double side3 private data field indicates the type of triangle with three sides. It
Our default value is 1.0. Requires
几何图形(满分50 分)
版本1:满分10 分
设计抽象类GeometricObject 及其子类Triangle 和Circle。
GeometricObject 类设计要求如下:
■ 一个名为color 的Color 类型的私有数据域,表示对象的颜色。
■ 一个名为filled 的Boolean 类型的私有数据域,表示对象是否填充颜色。
■ 一个名为dateCreated 的Date 类型的私有数据域,表示对象的创建日期。
■ 一个无参构造方法。
■ 一个能创建特定color 和filled 的有参构造方法。
■ 相关数据域的访问器和修改器。
■ 两个个名为draw 和erase 的抽象方法。
■ 一个名为getArea 的抽象方法。
■ 一个名为getPerimeter 的抽象方法。
■ 重写toString 方法。
Triangle 类设计要求如下:
■ 三个名为side1、side2 和 side3 的double 类型的私有数据域表示三角形的三条边。它
们的默认值是1.0。要求三个数据域保留2 位小数。
■ 一个无参的构造方法创建默认三角形。
■ 一个能创建带指定side1、side2 和 side3 的有参构造方法。
■ 所有三个数据域的访问器和修改器方法。
■ 父类抽象方法的实现。
■ 重写toString 方法。
Circle 类-Curriculum Design
Geometry (out of 50)
Version 1: 10 points
Design an abstract class and its subclasses GeometricObject Triangle and Circle.
GeometricObject class design requirements are as follows:
■ a named color of the Color type private data field that indicates the object s color.
■ a Boolean type called filled private data field that indicates whether the object fill color.
■ Date type named dateCreated private data field, which means that the object was created.
■ a no-argument constructor.
■ one can create a specific color and filled in with arg constructor.
■ Related data field accessor and modifier.
■ two months called draw and erase the abstract methods.
■ an abstract method named getArea.
■ an abstract method named getPerimeter.
■ overridden toString method.
Triangle class design requirements are as follows:
■ three named side1, side2 and a double side3 private data field indicates the type of triangle with three sides. It
Our default value is 1.0. Requires
(系统自动生成,下载前可以参看下载内容)
下载文件列表
GeometricVersion3/.classpath
GeometricVersion3/.git/config
GeometricVersion3/.git/HEAD
GeometricVersion3/.git/index
GeometricVersion3/.git/logs/HEAD
GeometricVersion3/.git/logs/refs/heads/master
GeometricVersion3/.git/objects/59/25e7c891f519f6e4a816a17e3649757cb4fa15
GeometricVersion3/.git/objects/73/41ab1683c4f1bd2f33bbd3d102ebf032569b57
GeometricVersion3/.git/objects/84/54614350a13c924da5aa4b78dfae34265080c5
GeometricVersion3/.git/objects/8c/ccfa3e20f7b6c31f45a0148de4b36a12fa97a0
GeometricVersion3/.git/objects/9f/81a0846523d834c637d3d868f237bb1d67b258
GeometricVersion3/.git/objects/e6/70898a1520196137b63cf9af02a14dd89c50c2
GeometricVersion3/.git/objects/f7/93c8f76377ded6a531c1c50368d9fba70fbf8c
GeometricVersion3/.git/refs/heads/master
GeometricVersion3/.gitignore
GeometricVersion3/.project
GeometricVersion3/.settings/org.eclipse.jdt.core.prefs
GeometricVersion3/bin/GeometricVersion3/Circle.class
GeometricVersion3/bin/GeometricVersion3/GeometricObject.class
GeometricVersion3/bin/GeometricVersion3/GeometricVersion3$1.class
GeometricVersion3/bin/GeometricVersion3/GeometricVersion3$2.class
GeometricVersion3/bin/GeometricVersion3/GeometricVersion3$3.class
GeometricVersion3/bin/GeometricVersion3/GeometricVersion3$4.class
GeometricVersion3/bin/GeometricVersion3/GeometricVersion3$5.class
GeometricVersion3/bin/GeometricVersion3/GeometricVersion3$6.class
GeometricVersion3/bin/GeometricVersion3/GeometricVersion3$7.class
GeometricVersion3/bin/GeometricVersion3/GeometricVersion3$8.class
GeometricVersion3/bin/GeometricVersion3/GeometricVersion3$9.class
GeometricVersion3/bin/GeometricVersion3/GeometricVersion3$DrawArea.class
GeometricVersion3/bin/GeometricVersion3/GeometricVersion3.class
GeometricVersion3/bin/GeometricVersion3/test.class
GeometricVersion3/bin/GeometricVersion3/Triangle.class
GeometricVersion3/src/GeometricVersion3/Circle.java
GeometricVersion3/src/GeometricVersion3/GeometricObject.java
GeometricVersion3/src/GeometricVersion3/GeometricVersion3.java
GeometricVersion3/src/GeometricVersion3/test.java
GeometricVersion3/src/GeometricVersion3/Triangle.java
GeometricVersion3/.git/logs/refs/heads
GeometricVersion3/.git/logs/refs
GeometricVersion3/.git/objects/59
GeometricVersion3/.git/objects/73
GeometricVersion3/.git/objects/84
GeometricVersion3/.git/objects/8c
GeometricVersion3/.git/objects/9f
GeometricVersion3/.git/objects/e6
GeometricVersion3/.git/objects/f7
GeometricVersion3/.git/objects/info
GeometricVersion3/.git/objects/pack
GeometricVersion3/.git/refs/heads
GeometricVersion3/.git/refs/tags
GeometricVersion3/.git/branches
GeometricVersion3/.git/hooks
GeometricVersion3/.git/logs
GeometricVersion3/.git/objects
GeometricVersion3/.git/refs
GeometricVersion3/bin/GeometricVersion3
GeometricVersion3/src/GeometricVersion3
GeometricVersion3/.git
GeometricVersion3/.settings
GeometricVersion3/bin
GeometricVersion3/src
GeometricVersion3
GeometricVersion3/.git/config
GeometricVersion3/.git/HEAD
GeometricVersion3/.git/index
GeometricVersion3/.git/logs/HEAD
GeometricVersion3/.git/logs/refs/heads/master
GeometricVersion3/.git/objects/59/25e7c891f519f6e4a816a17e3649757cb4fa15
GeometricVersion3/.git/objects/73/41ab1683c4f1bd2f33bbd3d102ebf032569b57
GeometricVersion3/.git/objects/84/54614350a13c924da5aa4b78dfae34265080c5
GeometricVersion3/.git/objects/8c/ccfa3e20f7b6c31f45a0148de4b36a12fa97a0
GeometricVersion3/.git/objects/9f/81a0846523d834c637d3d868f237bb1d67b258
GeometricVersion3/.git/objects/e6/70898a1520196137b63cf9af02a14dd89c50c2
GeometricVersion3/.git/objects/f7/93c8f76377ded6a531c1c50368d9fba70fbf8c
GeometricVersion3/.git/refs/heads/master
GeometricVersion3/.gitignore
GeometricVersion3/.project
GeometricVersion3/.settings/org.eclipse.jdt.core.prefs
GeometricVersion3/bin/GeometricVersion3/Circle.class
GeometricVersion3/bin/GeometricVersion3/GeometricObject.class
GeometricVersion3/bin/GeometricVersion3/GeometricVersion3$1.class
GeometricVersion3/bin/GeometricVersion3/GeometricVersion3$2.class
GeometricVersion3/bin/GeometricVersion3/GeometricVersion3$3.class
GeometricVersion3/bin/GeometricVersion3/GeometricVersion3$4.class
GeometricVersion3/bin/GeometricVersion3/GeometricVersion3$5.class
GeometricVersion3/bin/GeometricVersion3/GeometricVersion3$6.class
GeometricVersion3/bin/GeometricVersion3/GeometricVersion3$7.class
GeometricVersion3/bin/GeometricVersion3/GeometricVersion3$8.class
GeometricVersion3/bin/GeometricVersion3/GeometricVersion3$9.class
GeometricVersion3/bin/GeometricVersion3/GeometricVersion3$DrawArea.class
GeometricVersion3/bin/GeometricVersion3/GeometricVersion3.class
GeometricVersion3/bin/GeometricVersion3/test.class
GeometricVersion3/bin/GeometricVersion3/Triangle.class
GeometricVersion3/src/GeometricVersion3/Circle.java
GeometricVersion3/src/GeometricVersion3/GeometricObject.java
GeometricVersion3/src/GeometricVersion3/GeometricVersion3.java
GeometricVersion3/src/GeometricVersion3/test.java
GeometricVersion3/src/GeometricVersion3/Triangle.java
GeometricVersion3/.git/logs/refs/heads
GeometricVersion3/.git/logs/refs
GeometricVersion3/.git/objects/59
GeometricVersion3/.git/objects/73
GeometricVersion3/.git/objects/84
GeometricVersion3/.git/objects/8c
GeometricVersion3/.git/objects/9f
GeometricVersion3/.git/objects/e6
GeometricVersion3/.git/objects/f7
GeometricVersion3/.git/objects/info
GeometricVersion3/.git/objects/pack
GeometricVersion3/.git/refs/heads
GeometricVersion3/.git/refs/tags
GeometricVersion3/.git/branches
GeometricVersion3/.git/hooks
GeometricVersion3/.git/logs
GeometricVersion3/.git/objects
GeometricVersion3/.git/refs
GeometricVersion3/bin/GeometricVersion3
GeometricVersion3/src/GeometricVersion3
GeometricVersion3/.git
GeometricVersion3/.settings
GeometricVersion3/bin
GeometricVersion3/src
GeometricVersion3
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.