登录
首页 » Java » GeometricVersion3

GeometricVersion3

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

  • OpticalFlow
    使用光流法对动态图像进行彩色图像的显示,原文件要求用64位系统,32位系统的混合编译已经做好了(Optical flow method using dynamic image display color images, the original file system requires a 64-bit, 32-bit compiler mixing system has already done)
    2021-02-19 15:49:44下载
    积分:1
  • NamespaceSupport2
    Encapsulate Namespace tracking logic for use by SAX drivers.
    2014-01-22 10:59:57下载
    积分:1
  • lsb
    几个图像中嵌入文本的LSB信息隐藏算法,适合信息隐藏初学者,注释详细(Several images embedded in the text of the LSB Information Hiding Algorithm for Information Hiding beginners, notes in detail)
    2021-03-13 14:39:24下载
    积分:1
  • fft
    对图像进行傅立叶变换和反变换,计算频谱幅值(The image Fourier transform and inverse transform, the amplitude spectrum is calculated)
    2013-05-23 10:10:14下载
    积分:1
  • camshift_matlab_ilekoaiq
    cashift_matlab,我做的一些修改: 1.修改了之前网上的那种需要输入avi文件名再读取的方式,改成直接读取avi文件。 2.修改了另外建立avi文件的方式。 2.实时显示跟踪结果。 3.彩色图显示,用红色框圈出目标。 4.因为是基于颜色特征的,所以要选色颜色特征明显的。你可以自己拍摄目标颜色突出的avi视频来测试。 5.程序结束时有点小问题,按ctrl+c结束。(cashift_matlab, I made some changes: 1. Modify the kind of network before you need to enter the avi file name and then read the way to read avi file directly. 2. Modify the other way to create avi file. 2. Real-time display tracking results. 3. The color map shows the target with a red box. 4. Because it is based on the color characteristics, so to choose the color characteristics of the obvious. You can test your own avi video with a prominent target color. 5. A little problem at the end of the program, press ctrl + c to end.)
    2018-01-15 09:50:50下载
    积分:1
  • svd
    采用SVD方法进行人脸特征提取,希望对大家有用(SVD method using facial feature extraction, in the hope that useful to everybody)
    2009-03-10 10:35:01下载
    积分:1
  • poker-card-identify
    基于图像处理的识别技术,对扑克牌的自动识别,效果很好。(Recognition technology based on image processing,automatic identification of playing cards, the effect is very good. )
    2020-12-27 18:49:02下载
    积分:1
  • NSCT
    利用MATLAB实现NSCT非下采样轮廓波变换(Realization of Nonsubsampled Contour Transform by Using MATLAB.)
    2017-06-06 10:33:50下载
    积分:1
  • 1254896
    利用小波变换的去噪程序!和中值滤波进行对比!(The use of wavelet transform denoising procedure! And median filtering comparison!)
    2013-11-23 12:20:05下载
    积分:1
  • 基于地分块匹配算法定位仿真(原始程序)
    说明:  地形分块下的匹配导航算法仿真程序,算法包括最优分块算法和匹配定位算法的仿真(Simulation program of matching navigation algorithm under terrain block, including the simulation of optimal block algorithm and matching positioning algorithm)
    2020-12-02 16:19:25下载
    积分:1
  • 696518资源总数
  • 105949会员总数
  • 22今日下载