-
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
-
convolution
用matlab语言实现的卷积运算的仿真程序,调试成功,可直接运行。(The convolution operation simulation program Matlab language, commissioning, and can be run directly.)
- 2012-11-14 10:16:29下载
- 积分:1
-
libsvm-mat-2[1].89-3
svm(support vector machin) code usefull for classification
- 2010-12-07 14:15:48下载
- 积分:1
-
matlab-zhendongtai
MATLAB语言编写用于振动台试验数据处理的程序,根据模型试验所得的加速度波形可
计算得出相应的积分速度及位移。(MATLAB language for the shaking table test data processing program, according to the model test waveform was calculated from the acceleration of the speed and displacement of the corresponding points.)
- 2011-09-27 17:50:42下载
- 积分:1
-
adaptive-control-MATLAB-simulation
系统辨识与自适应控制MATLAB仿真一书的代码(code of System identification and adaptive control MATLAB simulation of a )
- 2013-10-05 22:13:28下载
- 积分:1
-
toolbox
说明: matlab的源程序,是很重要的补充,大家可以下载(matlab source, it is important to add that you can download)
- 2008-11-04 11:32:56下载
- 积分:1
-
CODE-F28335
Investigat abuot CODE F28335
- 2015-01-01 23:57:31下载
- 积分:1
-
PCA
图像处理中经典的PCA算法,几乎每一步的降维之前都要用到 实用性很强(PCA classical image processing algorithms, almost every step of dimension reduction should be used in very practical before)
- 2013-07-12 20:46:54下载
- 积分:1
-
wuchayufanshu
matlab 误差与范数 现行版本较少 吉林大学应用数学学院老师讲稿 今后会陆续上传(matlab error and norm of the current version of Applied Mathematics, Jilin University, Institute of fewer teachers will continue upload the script in the future)
- 2011-05-06 10:47:25下载
- 积分:1
-
Facial-feature-detection
程序实现人脸特征的检测和定位,可以识别并标注眉毛,眼睛,鼻子,嘴巴以及耳朵。能用于单人和多人脸图的检测识别,效果不错。(This is a human facial feature detection and location program. It can be applied to detect both single and multiple face images. )
- 2021-04-13 20:18:56下载
- 积分:1