登录
首页 » Java » GeometricVersion3

GeometricVersion3

于 2020-12-10 发布 文件大小:21KB
0 295
下载积分: 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 个回复

  • RSAttack
    RS攻击M程序,用于检测图像是否经过LSB密写(RS attack M procedures for detecting whether the image after LSB steganalysis)
    2006-09-22 11:00:35下载
    积分:1
  • Diverse-Density
    多样性密度算法,EM-DD算法,最好的多示例学习算法之一,MATLAB实现.(Diverse density algorithm, EM-DD algorithm, one of the best multi-instance learning algorithm, MATLAB.)
    2020-11-08 23:49:48下载
    积分:1
  • 3642112153_2
    book of image fusion
    2011-05-23 15:59:40下载
    积分:1
  • levelsetcode
    活动轮廓算法中的一类-几何轮廓算法,又称Levelset水平集算法,关于该算法的Matlab源码(包含一个test实例)(Active contour algorithm for a class- the geometric contours algorithm, also known as Levelset level set algorithm, algorithm on the Matlab source code (including a test instance))
    2008-03-13 14:16:24下载
    积分:1
  • Picture
    图片处理 去噪音,去模糊为了实现较好保留图像边缘特征的有效去噪,提出了一种基于边缘检测的Contourlet 变换去噪方法(Picture Deal)
    2013-05-28 16:20:28下载
    积分:1
  • denoising
    说明:  利用小波包分解对一个二维含躁图像进行去噪处理(Using Wavelet Packet Decomposition to Denoise a Two-Dimensional Fidgety Image)
    2019-03-05 11:15:44下载
    积分:1
  • HistogramMatching
    用于对原始图像根据指定图像的直方图进行匹配的matlab函数。用于改善图像的对比度。(Used for the original image histogram according to the specified image to match the matlab function. Be used to improve the image contrast.)
    2021-02-01 10:20:00下载
    积分:1
  • 43659358Matlab-GUI--for-Image-Segmentation--
    说明:  基于MATLAB GUI的图像处理界面,包括基本的图像处理功能(Graphical interface construction based on image processing)
    2019-04-23 17:27:02下载
    积分:1
  • jsttg
    Complete class-based image processing, contains all of the source code, auto image, There are cycle detection, periodic testing, MIT Artificial Intelligence Laboratory identification of the target source.
    2017-09-22 13:35:56下载
    积分:1
  • pee-nak_indonesian-2064746
    说明:  After spending a decade cooking in Michelin-starred restaurants in Spain, chef Oswaldo Oliva returns to his native Mexico City with a menu that rivals that of Pujol
    2019-12-23 20:39:51下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载