登录
首页 » Java » HardWork

HardWork

于 2010-04-27 发布 文件大小:3KB
0 195
下载积分: 1 下载次数: 0

代码说明:

说明:  上转型对象 1.实验目的 掌握上转型对象的使用。 2. 实验要求 要求有一个abstract类,类名为Employee,Employee的子类有YearWorker、MonthWorker和WeekWorker。YearWorker对象按年领取薪水,MonthWorker按月领取薪水,WeekWorker按周领取薪水。Employee有一个abstract方法: public abstract earnings() 子类必须重写父类的earnings()方法,给出各自领取薪水的具体方式。 有一个Company类,该类用Employee数组作为成员,Employee数组的单元可以是YearWorker对象、MonthWorker对象或WeekWorker对象的上转型对象。程序能输出Company对象一年需支付的薪水总额。 (The transformation of the object 1. Purpose of the experiment used to grasp the transformation of the object. 2. Experiment requires a abstract class requirements, class named Employee, Employee of the child class has YearWorker, MonthWorker and WeekWorker. YearWorker object to receive annual salary, MonthWorker receive a monthly salary, WeekWorker receive weekly salary. Employee one abstract method: public abstract earnings () sub-class must override the parent class of earnings () method, given their own specific way of receiving pay. A Company class, such as members with an array of Employee, Employee of the array elements can be YearWorker object, MonthWorker object or objects on the transformation of objects WeekWorker. Company object program can output a year' s salary to be paid the total amount.)

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

发表评论

0 个回复

  • pCACodes
    matlab程序 主成分变换代码 以及测试数据(Principal component transformation matlab program code, and test data)
    2010-01-11 20:00:29下载
    积分:1
  • MATLABtuitorandguider
    《精通MATLAB—综合辅导与指南》,word格式的,可读性很强,适合初级学习人员使用。("proficient MATLAB-comprehensive counseling and guidance", word format, readability strong, suitable for junior staff learn to use.)
    2007-03-21 15:49:41下载
    积分:1
  • ESPRIT
    ESPRIT是“Estimating signal parameters viarotational invariance techniques”的缩写,含义是“借助旋转不变技术估计信号参数”,它是由Roy[221等人于1986年提出的另一种基于子空间的DOA估计方法。 应用领域   侧向定位 信号处理 思想   ESPRIT的思想在于,将传感器阵列分解为两个完全相同的子阵列,两个子阵中每两个相对应的阵元具有相同的平移,即要求阵列具有平移不变性,每两个位移相同的阵元匹配成对。所幸的是实际中许多阵列满足这个条件,比如等距直线阵。(ESPRIT is "Estimating signal parameters viarotational invariance techniques" acronym, meaning "With ESPRIT estimation of signal parameters", it is by Roy [221, who in 1986 proposed DOA estimation method based on subspace another. Applications Lateral positioning signal processing Thinking ESPRIT thinking that the sensor array is divided into two identical sub-arrays, each of the two sub-arrays of two corresponding array element has the same translation, which requires an array with translation invariance, the displacement of each of the two identical arrays yuan matching pairs. Fortunately, many of the actual array satisfy this condition, such as equidistant linear array.)
    2014-02-19 13:17:31下载
    积分:1
  • fiber mode02
    说明:  光纤LP13模式,光纤模式计算,纤芯模式,有效折射率(Fiber LP13 mode, fiber mode calculation, fiber core mode, effective refractive index)
    2020-06-24 18:00:02下载
    积分:1
  • IHS-wavelet--fusion-of-SAR-and-TM-
    IHS小波包活性测度融合SAR与TM图像 王楠 赵淑清 郭建星 测绘学院学报 2004-12-30 期刊(IHS wavelet packet active measure fusion of SAR and TM image wang nan Zhao Shuqing Guo Jianxing journal of institute of surveying and mapping the 2004-12-30 journals)
    2013-12-10 23:31:56下载
    积分:1
  • MATLAB
    数字信号处理及其matlab实现,绝对好资料,实用,方便新人学习(Matlab digital signal processing and its realization)
    2010-06-10 13:12:08下载
    积分:1
  • 替代数据生成算法 surrogates
    替代数据生成算法。包括常用的随机相位法(shuffle.m and surrogate.m),周期随机相位法(cycleshuffle.m)和PPS算法(pps.m and findrho.m).(Surrogate data algorithms, including the usual approaches (shuffle.m and surrogate.m), the cycle shuffle version (cycleshuffle.m) and the PPS algorithm (pps.m and findrho.m). )
    2020-07-26 21:08:40下载
    积分:1
  • PSD_AAR5_GandR
    美国轨道谱AAR5铁路轨道空间谱生成程序,主要生成轨距不平顺性。(generate the AAR5 track Rolling and gauge Irregularity)
    2021-03-14 15:29:23下载
    积分:1
  • imagesegmentation
    基于MATLAB语言的遗传算法实现图像分割(Genetic algorithm image segmentation )
    2009-10-29 15:03:32下载
    积分:1
  • 2
    说明:  matlab另一中简单些的源码,只给出预测结果,不进行精度分析(Another more simple matlab source code, only the results of prediction are given, not to accuracy analysis)
    2008-05-05 17:32:44下载
    积分:1
  • 696516资源总数
  • 106436会员总数
  • 7今日下载