登录
首页 » Java » GeometricVersion3

GeometricVersion3

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

  • NPCR_and_UACI.m
    计算图像处理中的评价指标NPCR和UACI(Calculate the evaluation indexes NPCR and UACI)
    2021-01-08 17:28:51下载
    积分:1
  • mianbo
    实现瑞雷面波的频散曲线提取,并应用频散曲线模拟面波并成像,随即进行面波的逆频散(Inverse dispersion of the Rayleigh wave dispersion curve extraction and application of dispersion curves simulated surface wave imaging, then surface wave)
    2013-03-16 14:53:10下载
    积分:1
  • WenLiLiJiaophoto
    该程序为离焦模糊参数识别的方法,通过canny算子检测边缘,用hough变换检测直线的方法求离焦半径。(The program for the defocus blur parameter identification method by canny operator edge detection using hough transform line detection method for the defocus radius.)
    2021-01-12 16:48:49下载
    积分:1
  • shapecontext6
    形状上下文算法用于图像检索,程序中已运用了.mat文件存储图像库中的图像特征,检索效果很好。(shapecontext is used to realize imgage retrival,it shows very effective performance.)
    2011-07-11 13:46:54下载
    积分:1
  • peaks
    利用surf1函数绘制函数图形的三维光照图形,其中图形函数表达式为peaks(Use surf1 function to draw three-dimensional graphics of functional graphics, in which the graphical function expression is peaks)
    2017-10-01 20:43:43下载
    积分:1
  • INSARtuxiangpeizhun
    干涉SAR图像配准程序,matlab编的,很好用!(Interferometric SAR image registration procedures, matlab, and easy to use!)
    2020-12-06 22:19:22下载
    积分:1
  • 数字图像均值滤波和高斯滤波分析
    说明:  数字图像处理的大作业,有报告,关键代码都有注释,有一些不足,可供大家参考(Digital image processing operations, there are reports, key codes have notes, there are some shortcomings, for your reference.)
    2021-01-06 22:20:05下载
    积分:1
  • tuxiangfenge
    说明:  Matlab边缘检测和区域生长图像分割算法代码,适合于图像边缘检测。(Matlab edge detection and region growing image segmentation algorithm code, suitable for edge detection.)
    2011-04-11 20:36:40下载
    积分:1
  • WPES
    一个简单小波能量谱程序,可分析出信号的能量分布百分比。(A simple little wave energy spectrum program)
    2012-03-30 11:21:09下载
    积分:1
  • Digital_image_processing_frequency_domain
    该数字图像处理文件有很强的修改能力,可以仔细的分析每一个频域不同条件下的实验结果分析。有很强的处理图像能力(The digital image processing of documents has a strong ability to change and be more careful analysis of each under different conditions, a frequency-domain analysis of the experimental results. Has a strong ability to deal with images)
    2010-01-03 16:37:44下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载