-
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
-
Matlab7GUI
关于matlab GUI设计方面的经典书籍,供有关工科专业人士使用参考(matlab GUI)
- 2010-05-21 17:09:39下载
- 积分:1
-
Multi-hop-Cooperative-MIMO
在GM-MIMO集群建立基于地理位置。GM-MIMO图论应用于找到一个最佳的转发路径。(In GM-MIMO cluster is established based on geographic location. GM-MIMO graph theory applied to find the best path forward.)
- 2015-01-06 21:33:28下载
- 积分:1
-
SCA
说明: 正弦余弦优化算法,用于优化各种模型,附带注释(Sine-cosine optimization algorithm for optimizing various models with annotations)
- 2021-04-13 10:38:57下载
- 积分:1
-
用于Matlab的彩色图像色彩空间转换的MEX文件!
用于MATLAB的彩色图像色彩空间转换的MEX文件(for MATLAB color image color space conversion MEX documents)
- 2005-03-14 16:17:01下载
- 积分:1
-
function-featuresOrCV
functions for data representation
- 2011-01-25 22:23:47下载
- 积分:1
-
123
融合程序,matlab的源代码。内含两个程序。(Fusion program, Matlab source code. Contains two procedures.)
- 2012-06-09 10:23:51下载
- 积分:1
-
program
4个非常简单的matlab滤波程序,线性滤波、中值滤波、二维自适应滤波、top-hat滤波(4 very simple matlab filtering program, linear filtering, median filtering, the two-dimensional adaptive filtering, top-hat filter)
- 2013-03-19 22:24:58下载
- 积分:1
-
CS
说明: 关于压缩感知里面比较全的一些算法包括OMP SAMP COSAMP 等等用Matlab编写(compressive sensing Matlab coding)
- 2013-04-23 21:37:19下载
- 积分:1
-
pa021
光纤无线通信系统中传输性能的研究,小波包分析提取振动信号中的特征频率,预报误差法参数辨识-松弛的思想。( Fiber Transmission wireless communication system performance, Wavelet packet analysis to extract vibration signal characteristic frequency, Prediction Error Method for Parameter Identification- the idea of relaxation.)
- 2017-04-15 12:22:28下载
- 积分:1