-
HardWork
说明: 上转型对象
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.)
- 2010-04-27 18:54:17下载
- 积分:1
-
CHAP4
pid,神经网络,模糊控制,专家控制,一些有用的案列(pid, neural networks, fuzzy control, expert control, some useful text columns)
- 2014-10-30 19:46:51下载
- 积分:1
-
wnn.zip
小波神经网络是一种利用小波分析和人工神经网络结合的智能模型,是一种人工智能模型。本程序利用小波神经网络进行短时交通流量预测。(Wavelet neural network (WNN) which is the combination of wavelet analysis and artificial neural network is used to predict the future traffic.)
- 2015-01-16 21:15:32下载
- 积分:1
-
WIMAX_OFDM
WiMAX物理层平台搭建,并实现了物理层小数时延和整数时延的添加,并并一定方法实现对时延的估计(WiMAX physical platform building, and implements the fractional time delay and integer delay to add the physical, and a certain method of time delay estimation)
- 2013-12-16 10:47:55下载
- 积分:1
-
src
Voice detection using zero crossing rate and STE
- 2014-01-20 00:40:55下载
- 积分:1
-
OFDM
OFDM 系统仿真程序源代码,主要用于OFDM系统仿真(OFDM system simulation program source code, mainly used in OFDM system simulation)
- 2008-03-29 14:53:06下载
- 积分:1
-
DRP4_11p
solves 1d linear wave eq. by 4th order 11 point DRP scheme
- 2014-02-24 18:08:52下载
- 积分:1
-
ex3
说明: Matlab在图像处理与目标识别方面的应用实例(Matlab image processing and target recognition in the application examples)
- 2011-03-27 22:51:48下载
- 积分:1
-
CA_Code
本源码是对类GPS信号中的C/A码的仿真,通过改变移位寄存器的选择抽头,可实现不同C/A码的产生。(The source is the class GPS signal in C/A code simulation by changing the shift register tap selection can be realized to generate different C/A code.)
- 2020-06-26 17:20:02下载
- 积分:1
-
CCDF-Matlab-OFDM
调制信号的CCDF曲线特性,OFDM的Matlab仿真一般都要用到其CCDF分析(CCDF curve characteristics of modulated signals)
- 2011-05-23 11:16:30下载
- 积分:1