-
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
-
QPSK_BER_Es
BPSK仿真,Es/N0=0:10,得出BER与Es/N0的关系曲线,AWGN信道(BPSK simulation, Es/N0 = 0:10, come to the relationship between BER and Es/N0 curve, AWGN channel)
- 2013-11-12 12:06:13下载
- 积分:1
-
iri
说明: A GUI matlab model for getting the ionex value
- 2019-03-01 00:36:05下载
- 积分:1
-
graph2
Comparation of the original signal and the filtered signal
- 2009-05-26 22:40:44下载
- 积分:1
-
perfect-OFDM-program-MATLAB
完美的OFDM信道估计仿真程序,可以传输音频。希望对您的研究有帮助(Perfect OFDM channel estimation simulation program can transmit audio. I hope to help your research)
- 2013-09-22 20:34:08下载
- 积分:1
-
scatter_LDS
Scatter plot for large data set (tested for 10 million points)
- 2014-02-06 17:57:49下载
- 积分:1
-
cycloconverter
it is single phase cycloconverter used in many ways to control the frequency or rather would say reduce the frequency to control the speed of motor but here iam using only resistive load because my teacher only give me this project.
To use simulink please change the solver type to ode23tb
- 2013-12-20 14:18:37下载
- 积分:1
-
CPPBUILDER-package-design
创建和编辑包
创建一个包需要指定:
· 包的一个名字。
· 新包要求使用或链接的其他包的列表。
· 包编译时包含或绑定的单元文件的列表。包实质上是这些包含已编译.BPL功能的源代码单元的封装,包含(Contains)列表是想编译进包的定制组件的源代码单元放置的地方。一个包由C++源文件(.CPP)和扩展名为.BPK的工程选项文件定义。这些文件由包编辑器生成。
(Creating and editing package to create a package needs to be specified: a name of the package. The new package requires the use of or linked list of other packages. Compile a list of unit package that contains the file or binding. These packages contain essentially compiled. Source code package BPL unit functions, including (Contains) list is to source code modules compiled into the custom component package placed. A package of C++ source file (. CPP) and the extension. Engineering options file defines the BPK. These files are generated by the package editor.)
- 2014-02-19 21:28:41下载
- 积分:1
-
dft_nfir
说明: Grtzl算法计算dft的matlab程序和lms算法的自适应窄带滤波的程序。(Dft algorithm Grtzl the lms algorithm matlab procedures and narrow-band adaptive filtering process.)
- 2009-08-04 13:28:11下载
- 积分:1
-
RCB_array
稳健的capon自适应波束形成器的算法实现.Robust Broadband Beamformers(Robust capon adaptive beamformer algorithm .Robust Broadband Beamformers)
- 2017-03-02 20:15:36下载
- 积分:1