登录
首页 » Java » GeometricVersion3

GeometricVersion3

于 2020-12-10 发布 文件大小:21KB
0 280
下载积分: 1 下载次数: 16

代码说明:

  课程设计 几何图形(满分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,295,2013-05-18
.................\.gitignore,5,2013-05-18
.................\.project,376,2013-05-18
.................\bin
.................\...\GeometricVersion3
.................\...\.................\Circle.class,1747,2013-06-19
.................\...\.................\GeometricObject.class,238,2013-06-19
.................\...\.................\GeometricVersion3$1.class,1843,2013-06-19
.................\...\.................\GeometricVersion3$2.class,793,2013-06-19
.................\...\.................\GeometricVersion3$3.class,1420,2013-06-19
.................\...\.................\GeometricVersion3$4.class,793,2013-06-19
.................\...\.................\GeometricVersion3$5.class,982,2013-06-19
.................\...\.................\GeometricVersion3$6.class,984,2013-06-19
.................\...\.................\GeometricVersion3$7.class,983,2013-06-19
.................\...\.................\GeometricVersion3$8.class,985,2013-06-19
.................\...\.................\GeometricVersion3$9.class,928,2013-06-19
.................\...\.................\GeometricVersion3$DrawArea.class,1604,2013-06-19
.................\...\.................\GeometricVersion3.class,4180,2013-06-19
.................\...\.................\test.class,506,2013-06-19
.................\...\.................\Triangle.class,1778,2013-06-19
.................\src
.................\...\GeometricVersion3
.................\...\.................\Circle.java,1587,2013-05-29
.................\...\.................\GeometricObject.java,462,2013-05-29
.................\...\.................\GeometricVersion3.java,6418,2013-05-29
.................\...\.................\test.java,294,2013-05-28
.................\...\.................\Triangle.java,1596,2013-05-29

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • singer
    运动状态的singer模型,用于描述模型的状态方程和观测方程。(singer model for dynamic states, used to describe state function and measurement function.)
    2020-11-27 14:39:29下载
    积分:1
  • watershed
    图像分割中的分水岭算法实现--图像灰度变化--图像增强--多维图像(Watershed image segmentation algorithm image change image enhancement multi-dimensional image)
    2008-06-03 00:05:55下载
    积分:1
  • LeastSquaresEllipse
    利用最小二乘法,可以自动实现图像中的椭圆检测并拟合出来,效果很好(Ellipse detection and fitting them to achieve)
    2011-10-12 20:08:37下载
    积分:1
  • hough-tuoyuanjiance
    用matlab编写的实现椭圆检测的程序,自己稍微改下就可以(using Matlab prepared by the realization ellipse detection procedures, their own little can be changed under)
    2007-04-22 15:34:03下载
    积分:1
  • net
    说明:  利用模糊神经网络的方法实现遥感图像的目标识别(The use of fuzzy neural network approach to achieve the goal of remote sensing images to identify)
    2009-08-02 11:18:33下载
    积分:1
  • Canny_Improve
    有关改良Canny算法的一些还算可以的文献(Improved Canny algorithm on some literature.)
    2013-10-30 08:56:31下载
    积分:1
  • CV_model2
    有详实的说明,基于C-V模型的图像分割,属于活动轮廓模型,有典型的图片例子,可以直接运行,适合研究生使用。(There are detailed instructions, CV model-based image segmentation, are active contour models, with typical picture examples can be run directly, for graduate students to use.)
    2020-11-03 10:49:52下载
    积分:1
  • 0001
    说明:  用MATLAB读取一幅任意大小和格式的彩色图片,并将图片数据保存到dat格式的m代码,同时还可以读取TXT格式的数据文件,并在MATLAB将其以图像的形式显示出来(Using MATLAB to read any size and format of a color image, and image data into m code dat format)
    2009-08-15 13:31:13下载
    积分:1
  • hsvfeature2
    这是图像处理中HSV课件颜色特征提取(将H5等份,S,V分量各三等份)MATLAB源码。(This is the image processing in HSV color feature extraction software (to be H5 equal, S, V component of the third class) MATLAB source.)
    2008-05-18 10:33:19下载
    积分:1
  • inexact_alm_rpca
    非精确ALM解决PCA算法的例子,用后效果不错,发上来分享。(This matlab code implements the inexact augmented Lagrange multiplier method for Robust PCA.)
    2020-06-29 04:00:02下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载