登录
首页 » Java » HardWork

HardWork

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

  • wcdmanetworkplanngingpart1
    这个是芬兰人写的《WCDMA无线网络规划与优化》书上对应的Matlab源代码。这本书很经典。(this is the Finns write "WCDMA Wireless Network Planning and Optimization" book on the corresponding source Matlab code. This book classic.)
    2007-05-19 16:50:13下载
    积分:1
  • rdsac.m.tar
    用MATLAB程序打开数字地震数据记录SAC格式。(using Matlab, it can open the data of seismic wave.)
    2013-11-29 00:39:31下载
    积分:1
  • 随机动态规划matlab
    求解随机动态规划的MATLAB程序,有需要的请下载(Solving stochastic dynamic programming)
    2020-09-02 19:58:07下载
    积分:1
  • matlab
    编写matlab语言实现的bch编码程序(Write the BCH encoding program implemented in MATLAB language)
    2020-08-23 15:18:17下载
    积分:1
  • model_macine_asy_non_complet
    mathematical model of asynchrounous machine
    2009-06-07 07:29:54下载
    积分:1
  • DFIG-wind-farm
    风电场双馈异步电机仿真,希望对大家有所帮助(Doubly-fed induction motor wind farm simulation, we hope to help)
    2015-04-13 19:05:29下载
    积分:1
  • Lpc
    Matlab程序处理LPC倒谱估计,调试后可以运行!(The Matlab program processing LPC cepstrum estimated, debugging can run!)
    2013-01-11 09:49:01下载
    积分:1
  • mli
    the second format for the inverter
    2013-02-25 17:08:48下载
    积分:1
  • GMKL-matlabcode
    比较经典的一个多核学习MKL代码(GMKL Generalized MKL),里面包含其对应的文章,很容易学习和调试!(Learn more classic a multicore MKL Code (GMKL- Generalized MKL), which contains the corresponding article, it is easy to learn and debug!)
    2015-11-17 14:17:57下载
    积分:1
  • POCS-NL
    毫米波图像存在分辨率低的缺点,该程序在WRLA算法的基础上,进一步采用投影算法,能有效改善毫米波图像的分辨率(Images acquired from Passive Millimeter-Wave (PMMW) radiometer have poor resolution due to limited aperture dimension. Therefore, Super-Resolution Algorithm (SRA) is a key component for PMMW imager. SRA realizes spectrum extrapolation, however, spectrum in-band is deteriorated too. Wiener-Richardson-Lucy Algorithm (WRLA) recovers spectrum in-band by Wiener filter, and extrapolates spectrum out-of-band by Richardson-Lucy Algorithm (RLA). WRLA can avoid spectrum deterioration in passband, but its ability for spectrum extrapolation is limited also. We propose an improved algorithm to solve this problem. This algorithm, which has built constraints according to characteristics of PMMW imaging, uses Projection-Onto-Convex-Sets (POCS) technique to enhance the WRLA s performance, so it is termed as POCS-WRLA.)
    2009-05-17 10:50:00下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载