登录
首页 » Java » GeometricVersion3

GeometricVersion3

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

  • WPF动画实例 Animation
    WPF动画实例 Animation
    2015-07-03下载
    积分:1
  • QGA
    基于遗传算法的图像增强代码,亲测好用,值得下载(Based on the genetic algorithm image enhancement code, pro-measurement easy to use, it is worth downloading)
    2021-01-10 06:18:50下载
    积分:1
  • differential-operation
    实现图像的滤波、锐化、边缘检测、微分处理及图像平滑(Image filtering, sharpening, edge detection, differential processing and image smoothing)
    2013-02-27 21:00:36下载
    积分:1
  • harris_corners_image_registration
    应用harris算子进行角点检测,然后利用相关性检测得到匹配焦点,然后进行图像的重采样,适于对于彩色图像的处理,对于灰度图像,只要将harris算子检测时的图像从彩色道灰度图像的语句去掉即可(Application of operator harris corner detection, and then make use of relevant test match to be the focus, and then carried out resampling images, suitable for color image processing, for gray-scale images, as long as the operator will harris Detect when the image from color Road gray-scale images can be removed from the statement)
    2009-03-20 16:07:41下载
    积分:1
  • 22164429182
    能够很好的实现车牌定位的matlab源程序.但是不能实现车牌字符分割(Able to realize a very good source matlab plate positioning. But not license plate character segmentation)
    2008-05-03 18:30:22下载
    积分:1
  • lvbo
    共有5个代码其中4个分别实现图像的中值滤波、均值滤波、双边滤波、Lee滤波,另一个是求图像的均值和方差。模板均不固定自己根据需要确定合适的w值。(There are five codes of which four were achieved image median filter, mean filter, bilateral filter, Lee filter, and the other is seeking an image of the mean and variance. Templates are not fixed ourselves w appropriate values as needed.)
    2015-05-04 15:08:36下载
    积分:1
  • connected
    连通域处理的函数简介,包含删除小面积对象,计算对象面积,删除边界对象等(Function of connected domain processing)
    2015-12-20 16:59:18下载
    积分:1
  • 2
    说明:  输入多幅图像实现帧间差分实现运动目标检测(Enter the number of inter-frame difference image realize realize moving target detection)
    2008-03-06 13:35:36下载
    积分:1
  • Icb__Spectruut
    用Visual C编的用于语音的频频谱的检测,能显示出来语音的频谱图。 (Visual C series of the spectrum for voice detection, displayed the frequency spectrum of the voice.)
    2012-07-26 22:36:07下载
    积分:1
  • 0115
    图像格式转换例程源码,程序主要结合易语言图像格式转换支持库,可以将某些图象文件的格式转换到其它图象文件的格式(Image format conversion routines source, the program mainly with easy language support library image format conversion, you can convert the image file format to some other image file formats)
    2015-01-15 09:18:15下载
    积分:1
  • 696518资源总数
  • 104926会员总数
  • 6今日下载