登录
首页 » Java » HardWork

HardWork

于 2010-04-27 发布 文件大小:3KB
0 247
下载积分: 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 个回复

  • CManual
    C Language Reference Manual
    2010-09-29 23:34:03下载
    积分:1
  • newnes.essential.matlab.for.engineers.and
    essential matlab for engineers and scientists
    2010-11-02 00:15:34下载
    积分:1
  • filterbutterworth
    1.这是一个matlab滤波程序,内含空域二维卷积滤波;频域高通滤波;三级butterworth高通滤波器设计。 2.效果较好,内含较为翔实的代码注释,通用性,可移植性较强。(1. This is a Matlab filtering procedures, airspace containing 2D convolution filter; Frequency- domain high pass filter; 3 butterworth high pass filter design. 2. The result is better and more informative containing the code notes, general, portability strong.)
    2006-12-27 12:13:50下载
    积分:1
  • Bezier_circle
    贝塞尔曲线拟合程序,完全利用matlab实现(Bezier curve fitting procedures)
    2009-04-23 16:04:01下载
    积分:1
  • Weak-extraction
    随机信号分析理论如何在实践中应用;随机信号的检测及分析方法;强噪声背景下微弱信号的提取又是信号检测的难点,其目的就是消除噪声,将有用的信号从强噪声背景中提取出来(How random signal analysis theory applied in practice random signal detection and analysis methods strong noise background of weak signal extraction and signal detection is difficult, its purpose is to eliminate the noise, the useful signal from strong background noise extracted)
    2011-11-20 21:59:58下载
    积分:1
  • gaussmix(Bouman)M
    高斯混合模型用于聚类的程序。可以直接使用。里面有3个例子。(Gaussian mixture model for the clustering process. Can be used directly. Inside there are three examples.)
    2009-12-04 15:38:40下载
    积分:1
  • HE
    说明:  Historgam function功能實作運用可產生圖像之長條圖(Historgam function)
    2010-01-18 00:07:44下载
    积分:1
  • Sports_Experiment
    Video Classification using sptio-temproal pyramid matching
    2010-12-27 18:26:26下载
    积分:1
  • tezhenglian
    用于特征脸识别的MATLAB经典代码,本科毕业设计所做,调试成功,运行结果理想(Face Recognition MATLAB for feature classic code, doing graduate design, debugging success, the results are satisfactory)
    2013-11-22 20:54:04下载
    积分:1
  • R_N_U
    原理:乘同余法产生随机数来生成均匀分布、瑞利分布、正态分布,压缩包包括3个分布的Matlab源代码(Principle: multiplicative congruential method to generate random numbers to generate uniformly distributed ,Rayleigh distribution and normal distribution.This package includes three distribution of Matlab source code.)
    2013-11-02 14:24:01下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载